Blame SOURCES/rhbz-872752.patch

8acfe1
--- xulrunner-16.0.2/mozilla-release/xulrunner/installer/Makefile.in.orig	2012-11-05 11:17:57.000000000 +0100
8acfe1
+++ xulrunner-16.0.2/mozilla-release/xulrunner/installer/Makefile.in	2012-11-05 11:56:22.513385775 +0100
8acfe1
@@ -46,6 +46,7 @@
8acfe1
 
8acfe1
 pkg_config_files = \
8acfe1
 	libxul.pc \
8acfe1
+	libxul-embedding-lib.pc \
8acfe1
 	libxul-embedding.pc \
8acfe1
 	mozilla-js.pc \
8acfe1
 	mozilla-plugin.pc \
8acfe1
--- xulrunner-16.0.2/mozilla-release/xulrunner/installer/libxul-embedding-lib.pc.in.orig	2012-11-05 11:59:31.493626458 +0100
8acfe1
+++ xulrunner-16.0.2/mozilla-release/xulrunner/installer/libxul-embedding-lib.pc.in	2012-11-05 12:01:03.547230893 +0100
8acfe1
@@ -0,0 +1,11 @@
8acfe1
+prefix=%prefix%
8acfe1
+sdkdir=%sdkdir%
8acfe1
+includedir=%includedir%
8acfe1
+idldir=%idldir%
8acfe1
+
8acfe1
+Name: libxul-embedding-lib
8acfe1
+Description: Static library for version-independent embedding of the Mozilla runtime for libraries
8acfe1
+Version: %MOZILLA_VERSION%
8acfe1
+Requires: %NSPR_NAME% >= %NSPR_VERSION%
8acfe1
+Libs: -L${sdkdir}/lib -lxpcomglue -ldl
8acfe1
+Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
8acfe1
--- xulrunner-16.0.2/mozilla-release/xulrunner/installer/libxul-embedding.pc.in.fixembed	2012-11-05 11:17:57.227491778 +0100
8acfe1
+++ xulrunner-16.0.2/mozilla-release/xulrunner/installer/libxul-embedding.pc.in	2012-11-05 12:01:56.140574788 +0100
8acfe1
@@ -4,8 +4,8 @@
8acfe1
 idldir=%idldir%
8acfe1
 
8acfe1
 Name: libxul-embedding
8acfe1
-Description: Static library for version-independent embedding of the Mozilla runtime
8acfe1
+Description: Static library for version-independent embedding of the Mozilla runtime for applications
8acfe1
 Version: %MOZILLA_VERSION%
8acfe1
-Requires: %NSPR_NAME% >= %NSPR_VERSION%
8acfe1
-Libs: -L${sdkdir}/lib -lxpcomglue -ldl
8acfe1
+Requires: %NSPR_NAME% >= %NSPR_VERSION% , libxul-embedding-lib = %MOZILLA_VERSION%
8acfe1
+Libs: -L${sdkdir}/lib -Wl,--whole-archive -lmozglue -lmemory -Wl,--no-whole-archive -ldl -rdynamic
8acfe1
 Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%