From f44c4f809eef19aef5505b46acbfcb965669a143 Mon Sep 17 00:00:00 2001 From: "kherron%fmailbox.com" Date: Sun, 17 Jun 2007 13:02:08 +0000 Subject: [PATCH] Bug 247204 - lock up at start when using threaded GTK2 libraries (i.e. gconf). Patch by Walter Meinl , r+sr=roc. --- config/static-config.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/static-config.mk b/config/static-config.mk index 314ef4d909a..400be49eea6 100644 --- a/config/static-config.mk +++ b/config/static-config.mk @@ -93,8 +93,8 @@ endif endif endif -ifneq (,$(MOZ_ENABLE_GTK2)) -STATIC_EXTRA_LIBS += $(XLDFLAGS) $(XT_LIBS) +ifdef MOZ_ENABLE_GTK2 +STATIC_EXTRA_LIBS += $(XLDFLAGS) $(XT_LIBS) -lgthread-2.0 endif ifdef MOZ_ENABLE_XFT @@ -105,6 +105,10 @@ ifdef MOZ_ENABLE_PANGO STATIC_EXTRA_LIBS += $(MOZ_PANGO_LIBS) endif +ifdef MOZ_ENABLE_STARTUP_NOTIFICATION +STATIC_EXTRA_LIBS += $(MOZ_STARTUP_NOTIFICATION_LIBS) +endif + # Component Makefile always brings in this. # STATIC_EXTRA_LIBS += $(TK_LIBS)