From 035e61142a29f1597d2c3cfed0d8d0ebdac2edd3 Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Tue, 5 Oct 2004 04:15:28 +0000 Subject: [PATCH] * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on older darwins too. Reported by Christoph Egger. --- ChangeLog | 5 +++++ config/ltmain.m4sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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= -- 2.47.2