]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link_all_deplibs,darwin): Link libraries in the
authorPeter O'Gorman <peter@pogma.com>
Sun, 14 Mar 2004 14:28:20 +0000 (14:28 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sun, 14 Mar 2004 14:28:20 +0000 (14:28 +0000)
correct order. Bug from Zachary Pincus <zpincus@stanford.edu>.

ChangeLog
ltmain.in

index 4f7e55a76930c2111c1f7aa44b45a417fa569310..869119da31a6925e569fcf44b5b06bbb477aaf25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2004-03-14  Peter O'Gorman  <peter@pogma.com>
 
        * ltmain.in: Use $EGREP, $GREP is not set.
+       * ltmain.in (link_all_deplibs,darwin): Link libraries in the
+       correct order. Bug from Zachary Pincus <zpincus@stanford.edu>.
 
 2004-03-14  Scott James Remnant  <scott@netsplit.com>
 
index 312f50be348b253415fbb5b40c9373a7f6809616..988372974df104e2ff107acb0793893c96a1632b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2672,7 +2672,7 @@ EOF
              esac
              case " $deplibs " in
              *" $depdepl "*) ;;
-             *) deplibs="$deplibs $depdepl" ;;
+             *) deplibs="$depdepl $deplibs" ;;
              esac
              case " $deplibs " in
              *" $path "*) ;;