mozilla-pkgconfig.patch
changeset 779 354c672efefa
parent 686 ab25aac2aa83
child 869 0dd25a92df97
--- a/mozilla-pkgconfig.patch	Thu Oct 16 21:20:22 2014 +0200
+++ b/mozilla-pkgconfig.patch	Thu Oct 16 23:09:58 2014 +0200
@@ -4,7 +4,7 @@
 diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
 --- a/xulrunner/installer/Makefile.in
 +++ b/xulrunner/installer/Makefile.in
-@@ -31,16 +31,19 @@ include $(topsrcdir)/config/rules.mk
+@@ -32,16 +32,19 @@ include $(topsrcdir)/config/rules.mk
  
  INSTALL_SDK = 1
  
@@ -24,7 +24,7 @@
  	$(NULL)
  
  ifdef MOZ_NATIVE_NSPR
-@@ -68,16 +71,17 @@ pkg_config_files += mozilla-nss.pc
+@@ -69,16 +72,17 @@ pkg_config_files += mozilla-nss.pc
  endif
  
  %.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)
@@ -88,4 +88,4 @@
  Requires: %NSPR_NAME% >= %NSPR_VERSION%
 -Libs: -L${sdkdir}/lib %MOZ_JS_LINK%
 +Libs: -Wl,-rpath,${libdir} -L${sdkdir}/lib %MOZ_JS_LINK%
- Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
+ Cflags: -I${includedir} -DXP_UNIX