]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/gcc/gcc49-libtool-no-rpath.patch
dhcpcd: fix delay after dhcp down.
[ipfire-2.x.git] / src / patches / gcc / gcc49-libtool-no-rpath.patch
CommitLineData
ed635824
MT
1libtool sucks.
2--- ltmain.sh.jj 2007-12-07 14:53:21.000000000 +0100
3+++ ltmain.sh 2008-09-05 21:51:48.000000000 +0200
4@@ -5394,6 +5394,7 @@ EOF
5 rpath="$finalize_rpath"
6 test "$mode" != relink && rpath="$compile_rpath$rpath"
7 for libdir in $rpath; do
8+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
9 if test -n "$hardcode_libdir_flag_spec"; then
10 if test -n "$hardcode_libdir_separator"; then
11 if test -z "$hardcode_libdirs"; then
12@@ -6071,6 +6072,7 @@ EOF
13 rpath=
14 hardcode_libdirs=
15 for libdir in $compile_rpath $finalize_rpath; do
16+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
17 if test -n "$hardcode_libdir_flag_spec"; then
18 if test -n "$hardcode_libdir_separator"; then
19 if test -z "$hardcode_libdirs"; then
20@@ -6120,6 +6122,7 @@ EOF
21 rpath=
22 hardcode_libdirs=
23 for libdir in $finalize_rpath; do
24+ case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
25 if test -n "$hardcode_libdir_flag_spec"; then
26 if test -n "$hardcode_libdir_separator"; then
27 if test -z "$hardcode_libdirs"; then