3
0
gettext-runtime/boo941629-unnessary-rpath-on-standard-path.patch
2020-07-08 07:40:36 +00:00

16 lines
593 B
Diff

Index: gettext-0.19.5.1/build-aux/config.rpath
===================================================================
--- gettext-0.19.5.1.orig/build-aux/config.rpath
+++ gettext-0.19.5.1/build-aux/config.rpath
@@ -216,7 +216,9 @@ 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