From d08d73a5bad3edf2979abce5011080ca8a96dcec Mon Sep 17 00:00:00 2001 From: Jon Meredith Date: Tue, 21 May 2002 14:05:20 +0000 Subject: [PATCH] * 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. --- ChangeLog | 9 +++++++++ ltmain.in | 3 +++ 2 files changed, 12 insertions(+) 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 -- 2.47.3