Bug 649157 - system-preference-service broken after gtkmozembed removal; r=bsmedberg
authorFernando Herrera <fherrera@onirica.com>
Mon, 11 Apr 2011 20:17:56 -0400
changeset 67874 3577f08df0c106cb7297f77d9f04c3df9733a18b
parent 67873 71fa806ffd267a33d923992984bec9f2682211fc
child 67875 0cfe6840e0a4a771e290a94c6a31101f9beaf9f5
push idunknown
push userunknown
push dateunknown
reviewersbsmedberg
bugs649157
milestone2.2a1pre
Bug 649157 - system-preference-service broken after gtkmozembed removal; r=bsmedberg
toolkit/library/Makefile.in
--- a/toolkit/library/Makefile.in
+++ b/toolkit/library/Makefile.in
@@ -71,16 +71,20 @@ endif
 ifeq ($(OS_ARCH),WINCE)
 CPPSRCS += dlldeps-xul.cpp
 endif
 
 ifeq ($(OS_ARCH),OS2)
 CPPSRCS += dlldeps-xul.cpp
 endif
 
+ifneq (,$(MOZ_ENABLE_GTK2))
+DEFINES += -DMOZ_ENABLE_GTK2
+endif
+
 SHARED_LIBRARY_LIBS += \
 	$(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
 	$(NULL)
 
 SHARED_LIBRARY_LIBS += \
 	$(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/components/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \
 	$(foreach lib,$(STATIC_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(lib).$(LIB_SUFFIX)) \
 	$(NULL)