From: Jon Meredith Date: Tue, 21 May 2002 14:05:20 +0000 (+0000) Subject: * ltmain.in: Fix a problem on SCO OpenServer5 that caused a X-Git-Tag: release-1-5~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d08d73a5bad3edf2979abce5011080ca8a96dcec;p=thirdparty%2Flibtool.git * ltmain.in: Fix a problem on SCO OpenServer5 that caused a failure in three depdemo-make tests. For some reason the linker tries to find the dependent libraries using the library search path before it has read the libraries specified with absolute paths in the full commandline. This patch add -L's for each of the dependent library directories so that they can be resolved. --- diff --git a/ChangeLog b/ChangeLog index b49b4eda9..94578fc9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2002-05-21 Jon Meredith + + * ltmain.in: Fix a problem on SCO OpenServer5 that caused a + failure in three depdemo-make tests. For some reason the linker + tries to find the dependent libraries using the library search + path before it has read the libraries specified with absolute + paths in the full commandline. This patch add -L's for each of + the dependent library directories so that they can be resolved. + 2002-05-09 Nick Hudson * libtool.m4: Update support for NetBSD diff --git a/ltmain.in b/ltmain.in index 6b12f4eac..90ce3789b 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2174,6 +2174,9 @@ EOF case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then + case $host in + *-*-sco3.2v5* ) add_dir="-L$dir" ;; + esac add="$dir/$linklib" elif test "$hardcode_minus_L" = no; then case $host in