source: scripts/patch/gcc/4.4.0/15-libtool-fixes.patch @ d8a9d8b

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d8a9d8b was d8a9d8b, checked in by Jim Gifford <clfs@…>, 15 years ago

Updates to Patch Scripts

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[d8a9d8b]1This patch works around rpath in GCC
2
3diff -Naur gcc-4.4.0.orig/ltmain.sh gcc-4.4.0/ltmain.sh
4--- gcc-4.4.0.orig/ltmain.sh    2008-09-26 09:21:02.000000000 -0700
5+++ gcc-4.4.0/ltmain.sh 2009-06-15 13:55:33.000000000 -0700
6@@ -6886,6 +6886,7 @@
7          rpath="$finalize_rpath"
8          test "$mode" != relink && rpath="$compile_rpath$rpath"
9          for libdir in $rpath; do
10+           case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
11            if test -n "$hardcode_libdir_flag_spec"; then
12              if test -n "$hardcode_libdir_separator"; then
13                if test -z "$hardcode_libdirs"; then
14@@ -7575,6 +7576,7 @@
15       rpath=
16       hardcode_libdirs=
17       for libdir in $compile_rpath $finalize_rpath; do
18+       case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
19        if test -n "$hardcode_libdir_flag_spec"; then
20          if test -n "$hardcode_libdir_separator"; then
21            if test -z "$hardcode_libdirs"; then
22@@ -7626,6 +7628,7 @@
23       rpath=
24       hardcode_libdirs=
25       for libdir in $finalize_rpath; do
26+       case "$libdir" in /usr/lib|/usr/lib64|/usr/lib/../lib|/usr/lib/../lib64) continue;; esac
27        if test -n "$hardcode_libdir_flag_spec"; then
28          if test -n "$hardcode_libdir_separator"; then
29            if test -z "$hardcode_libdirs"; then
Note: See TracBrowser for help on using the repository browser.