libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: libtool--devo--1.0--patch-195


From: Gary V. Vaughan
Subject: FYI: libtool--devo--1.0--patch-195
Date: Wed, 22 Sep 2004 23:47:50 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD.
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBUgEVFRMICSmD1gYRAgtdAKCwgkQpliak+L2Djnd2RDqjDBoJHgCgirvP
x3kSam1H3iao4Tm16T1ewGk=
=q+GC
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-194 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-194
M  ChangeLog
M  config/ltmain.in

* modified files

Index: Changelog
from  Andreas Schwab  <address@hidden>

        The dlpreopen pass over libraries reverses the elements in the
        $deplibs list.  This causes problems when the link pass tries to
        find libraries when they are located in non-standard places
        denoted by -L options.  Due to the reversed order these -L options
        occur after the libraries that need them, and they are not found:

        * config/ltmain.in: (Un)Reverse $deplibs list at the start of the
        link pass in lib mode.

--- orig/config/ltmain.in
+++ mod/config/ltmain.in
@@ -3289,6 +3289,18 @@
     esac
 
     for pass in $passes; do
+      # The preopen pass in lib mode reverses $deplibs; put it back here
+      # so that -L comes before libs that need it for instance...
+      if test "$linkmode,$pass" = "lib,link"; then
+       ## FIXME: Find the place where the list is rebuilt in the wrong
+       ##        order, and fix it there properly
+        tmp_deplibs=
+       for deplib in $deplibs; do
+         tmp_deplibs="$deplib $tmp_deplibs"
+       done
+       deplibs="$tmp_deplibs"
+      fi
+
       if test "$linkmode,$pass" = "lib,link" ||
         test "$linkmode,$pass" = "prog,scan"; then
        libs="$deplibs"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]