aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/nss-pkgconfig.patch
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-03-10 03:06:06 -0400
committerMark H Weaver <mhw@netris.org>2015-03-10 10:13:38 -0400
commita24175ac8d772e714a7cb5796e2da8799d9cf055 (patch)
treed19a89b503c24bbbcaf91637a36b9ad75c9cb831 /gnu/packages/patches/nss-pkgconfig.patch
parent61427c8d0365ac1238db1df99667ecac390db00b (diff)
downloadguix-a24175ac8d772e714a7cb5796e2da8799d9cf055.tar
guix-a24175ac8d772e714a7cb5796e2da8799d9cf055.tar.gz
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".
Diffstat (limited to 'gnu/packages/patches/nss-pkgconfig.patch')
-rw-r--r--gnu/packages/patches/nss-pkgconfig.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/patches/nss-pkgconfig.patch b/gnu/packages/patches/nss-pkgconfig.patch
index da5c48979e..80c0c5b009 100644
--- a/gnu/packages/patches/nss-pkgconfig.patch
+++ b/gnu/packages/patches/nss-pkgconfig.patch
@@ -5,6 +5,7 @@ Source: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/nss/fil
Modifications:
Change libdir from ${prefix}/lib64 to ${prefix}/lib/nss.
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
@@ -181,7 +182,7 @@ Modifications:
+fi
+
+if test "$echo_libs" = "yes"; then
-+ libdirs=""
++ libdirs=-L$libdir
+ if test -n "$lib_ssl"; then
+ libdirs="$libdirs -lssl${major_version}"
+ fi