From: Peter O'Gorman Date: Tue, 5 Oct 2004 04:15:28 +0000 (+0000) Subject: * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on X-Git-Tag: release-1-9f~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035e61142a29f1597d2c3cfed0d8d0ebdac2edd3;p=thirdparty%2Flibtool.git * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on older darwins too. Reported by Christoph Egger. --- diff --git a/ChangeLog b/ChangeLog index c42f3a433..7504b2595 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-05 Peter O'Gorman + + * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on + older darwins too. Reported by Christoph Egger. + 2004-10-04 Gary V. Vaughan * m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Don't confuse $ECHO diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index d2d774937..d5f1ce87c 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -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=