gnu: nss: Include -L$libdir in output of "nss-config --libs".
* gnu/packages/patches/nss-pkgconfig.patch (nss-config): Include -L$libdir in output of "nss-config --libs".
This commit is contained in:
parent
61427c8d03
commit
a24175ac8d
|
@ -5,6 +5,7 @@ Source: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/nss/fil
|
||||||
Modifications:
|
Modifications:
|
||||||
Change libdir from ${prefix}/lib64 to ${prefix}/lib/nss.
|
Change libdir from ${prefix}/lib64 to ${prefix}/lib/nss.
|
||||||
Remove optional patching in nss/Makefile.
|
Remove optional patching in nss/Makefile.
|
||||||
|
Include -L$libdir in output from "nss-config --libs".
|
||||||
|
|
||||||
--- nss-3.17.1/nss/config/Makefile
|
--- nss-3.17.1/nss/config/Makefile
|
||||||
+++ nss-3.17.1/nss/config/Makefile
|
+++ nss-3.17.1/nss/config/Makefile
|
||||||
|
@ -181,7 +182,7 @@ Modifications:
|
||||||
+fi
|
+fi
|
||||||
+
|
+
|
||||||
+if test "$echo_libs" = "yes"; then
|
+if test "$echo_libs" = "yes"; then
|
||||||
+ libdirs=""
|
+ libdirs=-L$libdir
|
||||||
+ if test -n "$lib_ssl"; then
|
+ if test -n "$lib_ssl"; then
|
||||||
+ libdirs="$libdirs -lssl${major_version}"
|
+ libdirs="$libdirs -lssl${major_version}"
|
||||||
+ fi
|
+ fi
|
||||||
|
|
Loading…
Reference in New Issue