9ccdfb
--- ./esc/src/app/xpcom/tray/Makefile.sdk.fix1	2009-04-17 13:39:58.000000000 -0700
9ccdfb
+++ ./esc/src/app/xpcom/tray/Makefile.sdk	2009-04-17 14:18:17.000000000 -0700
9ccdfb
@@ -23,20 +23,20 @@
9ccdfb
 include $(CORE_DEPTH)/coreconf/rules.mk
9ccdfb
 
9ccdfb
 ifeq ($(OS_ARCH),Linux)
9ccdfb
-CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS)
9ccdfb
+CXXFLAGS        += $(MOZ_GTK_CFLAGS) $(MOZ_GTK2_CFLAGS) $(NOTIFY_CXX_FLAGS) -fPIC
9ccdfb
 endif
9ccdfb
 
9ccdfb
 
9ccdfb
 # Change this to point at your Gecko SDK directory.
9ccdfb
 ifndef GECKO_SDK_PATH
9ccdfb
-GECKO_SDK_PATH =/usr/lib/xulrunner-sdk-1.9pre/sdk
9ccdfb
+GECKO_SDK_PATH =/usr/lib/xulrunner-sdk-1.9/sdk
9ccdfb
 endif
9ccdfb
 GECKO_SDK_INCLUDE_PATH=$(GECKO_SDK_PATH)/include
9ccdfb
 ifndef GECKO_INCLUDE_PATH
9ccdfb
-GECKO_INCLUDE_PATH=/usr/include/xulrunner-sdk-1.9pre
9ccdfb
+GECKO_INCLUDE_PATH=/usr/include/xulrunner-sdk-1.9
9ccdfb
 endif
9ccdfb
 ifndef GECKO_BIN_PATH
9ccdfb
-GECKO_BIN_PATH=/usr/lib/xulrunner-1.9pre
9ccdfb
+GECKO_BIN_PATH=/usr/lib/xulrunner-1.9
9ccdfb
 endif
9ccdfb
 
9ccdfb
 ifeq ($(OS_ARCH),Darwin)
9ccdfb
@@ -148,6 +148,10 @@
9ccdfb
 
9ccdfb
 endif
9ccdfb
 
9ccdfb
+ifeq ($(OS_ARCH),Linux)
9ccdfb
+GECKO_LD_LIBS= -L$(GECKO_SDK_PATH)/lib $(GECKO_SDK_PATH)/lib/libxpcomglue_s.a
9ccdfb
+endif
9ccdfb
+
9ccdfb
  
9ccdfb
 # GCC only define which allows us to not have to #include mozilla-config 
9ccdfb
 # in every .cpp file.  If your not using GCC remove this line and add