]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
authorPeter O'Gorman <peter@pogma.com>
Tue, 5 Oct 2004 04:16:10 +0000 (04:16 +0000)
committerPeter O'Gorman <peter@pogma.com>
Tue, 5 Oct 2004 04:16:10 +0000 (04:16 +0000)
older darwins too. Reported by Christoph Egger.

ChangeLog
config/ltmain.m4sh

index 5a9ba11bc47237e06ceb21296b786c65d3b820bb..5a3fb34ccaff4b8bc6b00ba7ba32e2023288f8cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-05  Peter O'Gorman  <peter@pogma.com>
+
+       * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
+       older darwins too. Reported by Christoph Egger.
+
 2004-10-05  Gary V. Vaughan  <gary@gnu.org>
 
        * configure.ac: Bumped version to 2.1a.
index d2d77493755710ca5300db57b0e373977a9f8d9d..d5f1ce87c51d3e12d13c0d66bb5540021d7a2c5f 100644 (file)
@@ -3903,7 +3903,8 @@ func_mode_link ()
                    done
                    if test -f "$absdir/$objdir/$depdepl" ; then
                      depdepl="$absdir/$objdir/$depdepl"
-                     eval darwin_install_name=`otool -L $depdepl | $SED -n -e '3q;2,2p' | $SED -e 's/(.*//' | xargs`
+                     darwin_install_name=`otool -L $depdepl | $SED -n -e '3q;2,2p' | $SED -e 's/(.*//'`
+                     darwin_install_name=`$ECHO $darwin_install_name`
                      compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
                      linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
                      path=