[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: darwin fat binary support bugfix
From: |
Peter O'Gorman |
Subject: |
Re: darwin fat binary support bugfix |
Date: |
Thu, 17 Apr 2008 09:09:24 -0500 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071115) |
LiKai Liu wrote:
> Hi all,
>
> For darwin fat binary support in libtool, there is a line in ltmain.sh
> that should be changed.
>
> Search for the comment that says "Okay now we have a bunch of thin
> objects, gota fatten them up :)". The line that follows has a part in the
> pipe that reads "xargs basename", which is incorrect as basename cannot
> process more than two arguments (the second argument being the suffix). It
> should read "$SED $basename" instead.
You're right, of course. Will fix, but we obviously need a working test
for this, so it will take more than a minute.
Changing that line to:
darwin_filelist=`find unfat-$$ -type f -name \*.o -o -name \*.lo -exec
basename '{}' ';' | sort -u`
should work. Please let me know if it does not.
Thanks,
Peter
--
Peter O'Gorman
http://pogma.com