Blame SOURCES/rhbz-872752.patch

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