Blame SOURCES/rhbz-872752.patch

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