bug-libtool
[Top][All Lists]
Advanced

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

Re: darwin fat binary support bugfix


From: LiKai Liu
Subject: Re: darwin fat binary support bugfix
Date: Mon, 21 Apr 2008 13:44:32 -0400 (EDT)

Ah, you're right. The BSD basename does allow multiple pathnames. ;-)

Yeah, I find myself more familiar with GNU coreutils rather than the BSD 
one, so the very first thing I install on a Mac is coreutils.

Thanks for fixing it.

liulk

On Mon, 21 Apr 2008, Peter O'Gorman wrote:

> LiKai Liu wrote:
> > Hi Peter,
> > 
> > I tested the $SED $basename fix for glib and it works. However, your 
> > expression:
> > 
> > darwin_filelist=`find unfat-$$ -type f -name \*.o -o -name \*.lo -exec 
> > basename '{}' ';' | sort -u`
> > 
> > Needs to force the precedence for -o, i.e.,
> 
> FYI,
> I was wondering why the test I just wrote would not fail for me, and
> discover:
> 
> % basename ./foo.o ./bar.o ./foo.lo
> foo.o
> bar.o
> foo.lo
> 
> I guess you have GNU coreutils installed, and in the path before the
> basename in /usr/bin or are cross compiling. I had been wondering how
> that bit of code had been buggy for so long without anyone noticing :)
> 
> I will fix, and even apply the (non-failing) test tomorrow.
> 
> Peter
> 




reply via email to

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