summaryrefslogtreecommitdiff
path: root/net-libs/libnsl/files/libnsl-1.3.0-rpath.patch
blob: 1189dae37cfad5e5afc32a52a58c0d76905c24c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/732100

Remove invalid shell from config.rpath.
--- a/config.rpath
+++ b/config.rpath
@@ -216,9 +216,7 @@ if test "$with_gnu_ld" = yes; then
       ;;
     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
-        if $libdir == /usr/lib | $libdir == /usr/lib64; then
-		     hardcode_libdir_flag_spec=""
-	     fi
+        :
       else
         ld_shlibs=no
       fi