bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TEST FAILURE] ... on Mac OSX Jaguar


From: Peter O'Gorman
Subject: Re: [TEST FAILURE] ... on Mac OSX Jaguar
Date: Tue, 05 Oct 2004 13:27:27 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Christoph Egger wrote:

Hi!

The libtool --help output:

      host-triplet:     powerpc-apple-darwin6.8

PASS: demo-deplibs.test
PASS: depdemo-conf.test
FAIL: depdemo-make.test
SKIP: depdemo-exec.test
SKIP: depdemo-inst.test
SKIP: depdemo-unst.test

I applied this patch to HEAD and branch-2-0, tested on darwin 6 and 7.

Peter
--
Peter O'Gorman - http://www.pogma.com
Index: ChangeLog
2004-10-05  Peter O'Gorman  <address@hidden>

        * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
        older darwins too. Reported by Christoph Egger.

from  Bob Friesenhahn  <address@hidden>
Index: config/ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.35
diff -u -3 -p -u -r1.35 ltmain.m4sh
--- config/ltmain.m4sh 3 Oct 2004 20:47:05 -0000 1.35
+++ config/ltmain.m4sh 4 Oct 2004 13:31:04 -0000
@@ -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=

reply via email to

[Prev in Thread] Current Thread [Next in Thread]