forked from pool/gettext-runtime
6a267d6ff4
- Fix boo941629-unnessary-rpath-on-standard-path.patch (boo#941629) OBS-URL: https://build.opensuse.org/request/show/819271 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=167
16 lines
593 B
Diff
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
|