diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-14 13:02:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-14 13:02:08 +0000 |
commit | 831edef8c7b7ed7cc18b5d6f79ad590a8bca5d7a (patch) | |
tree | 6a4bb03c59e316cffad82b5b7f44898d8f872697 /eclass/ELT-patches | |
parent | osmosis bump (diff) | |
download | historical-831edef8c7b7ed7cc18b5d6f79ad590a8bca5d7a.tar.gz historical-831edef8c7b7ed7cc18b5d6f79ad590a8bca5d7a.tar.bz2 historical-831edef8c7b7ed7cc18b5d6f79ad590a8bca5d7a.zip |
start an elibtoolize cross category #262042 by Sven Rebhan.
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r-- | eclass/ELT-patches/cross/link-ROOT | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/eclass/ELT-patches/cross/link-ROOT b/eclass/ELT-patches/cross/link-ROOT new file mode 100644 index 000000000000..3c7d99be1f20 --- /dev/null +++ b/eclass/ELT-patches/cross/link-ROOT @@ -0,0 +1,20 @@ +--- libltdl/config/ltmain.sh 2008-09-07 19:56:33.000000000 +0200 ++++ libltdl/config/ltmain.sh.new 2009-02-15 20:37:47.000000000 +0100 +@@ -5768,7 +5768,7 @@ + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then +- add_dir="-L$libdir" ++ add_dir="-L$ROOT/$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in +@@ -5785,7 +5785,7 @@ + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir="-L$libdir" ++ add_dir="-L$ROOT/$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in |