24523348 pidgin needs an extra RUNPATH to find NSS/NSPR libs
authorRich Burridge <rich.burridge@oracle.com>
Thu, 25 Aug 2016 14:58:58 -0700
changeset 6687 30fa2b861fc3
parent 6686 ef1ef74321e3
child 6688 f57de2080dbe
24523348 pidgin needs an extra RUNPATH to find NSS/NSPR libs
components/desktop/pidgin/patches/pidgin-03-runpath.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/pidgin/patches/pidgin-03-runpath.patch	Thu Aug 25 14:58:58 2016 -0700
@@ -0,0 +1,24 @@
+Needed to find the NSS/NSPR libraries at runtime.
+
+These changes need to be sent upstream.
+
+--- pidgin-2.11.0/configure.ac.orig	2016-08-25 12:38:53.201285451 +0000
++++ pidgin-2.11.0/configure.ac	2016-08-25 12:39:40.190394755 +0000
+@@ -2068,7 +2068,7 @@
+ 
+ 			if test "x$ac_cv_moz_nspr_libs" != "xno"; then
+ 				have_nspr_libs="yes"
+-				NSPR_LIBS="-L$with_nspr_libs $nsprlibs"
++				NSPR_LIBS="-L$with_nspr_libs $nsprlibs -R$with_nspr_libs"
+ 			else
+ 				NSPR_CFLAGS=""
+ 				enable_nss="no"
+@@ -2166,7 +2166,7 @@
+ 				AC_DEFINE(HAVE_NSS)
+ 				AC_DEFINE(HAVE_SSL)
+ 
+-				NSS_LIBS="-L$with_nss_libs $nsslibs"
++				NSS_LIBS="-L$with_nss_libs $nsslibs -R$with_nss_libs"
+ 
+ 				if test "$enable_nss" = "static"; then
+ 					msg_nss="Mozilla NSS (static)"