X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d75c935a76fcbcd071e0d294e49d619ab44e6ba6..f0589f7290ba958bbefaf5394b155d37c72a185e:/package/libtool/patches/100-libdir_path.patch diff --git a/package/libtool/patches/100-libdir_path.patch b/package/libtool/patches/100-libdir_path.patch index 08c4c6806..1132c3816 100644 --- a/package/libtool/patches/100-libdir_path.patch +++ b/package/libtool/patches/100-libdir_path.patch @@ -10,6 +10,15 @@ (rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT) --- a/ltmain.in +++ b/ltmain.in +@@ -2827,7 +2827,7 @@ EOF + fi + else + # We cannot seem to hardcode it, guess we'll fake it. +- add_dir="-L$libdir" ++ add_dir="-L@GLOBAL_LIBDIR@" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in @@ -5669,7 +5669,7 @@ fi\ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE