]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Fix a problem on SCO OpenServer5 that caused a
authorJon Meredith <jonm@alchemetrics.co.uk>
Tue, 21 May 2002 14:05:20 +0000 (14:05 +0000)
committerRobert Boehne <rboehne@gnu.org>
Tue, 21 May 2002 14:05:20 +0000 (14:05 +0000)
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
ltmain.in

index b49b4eda9b2ebd8990f097fae54467ab3182c516..94578fc9faf1a3577bad37ea13a06818c5cc3e09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-21  Jon Meredith  <jonm@alchemetrics.co.uk>
+
+       * 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  <skrll@netbsd.org>
 
        * libtool.m4: Update support for NetBSD
index 6b12f4eac4d4db65e7e5bd33bee29708fd46884a..90ce3789b93efa6ec495ae747d5592c046204706 100644 (file)
--- 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