components/desktop/pidgin/patches/pidgin-03-runpath.patch
changeset 6687 30fa2b861fc3
equal deleted inserted replaced
6686:ef1ef74321e3 6687:30fa2b861fc3
       
     1 Needed to find the NSS/NSPR libraries at runtime.
       
     2 
       
     3 These changes need to be sent upstream.
       
     4 
       
     5 --- pidgin-2.11.0/configure.ac.orig	2016-08-25 12:38:53.201285451 +0000
       
     6 +++ pidgin-2.11.0/configure.ac	2016-08-25 12:39:40.190394755 +0000
       
     7 @@ -2068,7 +2068,7 @@
       
     8  
       
     9  			if test "x$ac_cv_moz_nspr_libs" != "xno"; then
       
    10  				have_nspr_libs="yes"
       
    11 -				NSPR_LIBS="-L$with_nspr_libs $nsprlibs"
       
    12 +				NSPR_LIBS="-L$with_nspr_libs $nsprlibs -R$with_nspr_libs"
       
    13  			else
       
    14  				NSPR_CFLAGS=""
       
    15  				enable_nss="no"
       
    16 @@ -2166,7 +2166,7 @@
       
    17  				AC_DEFINE(HAVE_NSS)
       
    18  				AC_DEFINE(HAVE_SSL)
       
    19  
       
    20 -				NSS_LIBS="-L$with_nss_libs $nsslibs"
       
    21 +				NSS_LIBS="-L$with_nss_libs $nsslibs -R$with_nss_libs"
       
    22  
       
    23  				if test "$enable_nss" = "static"; then
       
    24  					msg_nss="Mozilla NSS (static)"