From: Scott James Remnant Date: Fri, 23 Jan 2004 06:03:52 +0000 (+0000) Subject: * ltmain.in: When relinking, place the -L parameter containing X-Git-Tag: release-1-5-2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2a593302b371d360926d5cb0439c3aa3b64f039;p=thirdparty%2Flibtool.git * ltmain.in: When relinking, place the -L parameter containing the installation prefix directory after the intended destination, so we don't accidentally link against an older installed library. --- diff --git a/ChangeLog b/ChangeLog index aa0e0eba0..03bb55711 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Scott James Remnant + + * ltmain.in: When relinking, place the -L parameter containing + the installation prefix directory after the intended destination, + so we don't accidentally link against an older installed library. + 2004-01-23 Scott James Remnant * tests/demo-nopic.test: Skip test on hppa, which don't like diff --git a/ltmain.in b/ltmain.in index 462eb6799..9ccfaec35 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2392,7 +2392,7 @@ EOF if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) - add_dir="-L$inst_prefix_dir$libdir $add_dir" + add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi @@ -2464,7 +2464,7 @@ EOF if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) - add_dir="-L$inst_prefix_dir$libdir $add_dir" + add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi