]> 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:15:28 +0000 (04:15 +0000)
committerPeter O'Gorman <peter@pogma.com>
Tue, 5 Oct 2004 04:15:28 +0000 (04:15 +0000)
older darwins too. Reported by Christoph Egger.

ChangeLog
config/ltmain.m4sh

index c42f3a43326d21c673df3e17d8425616c5496880..7504b2595ab1fbcb518cf88654da409c5c92d84b 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-04  Gary V. Vaughan  <gary@gnu.org>
 
        * m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Don't confuse $ECHO
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=