[PATCH] ugly binutils-2.13.2.1+glibc-2.3.2 bug

Greg Schafer gschafer at zip.com.au
Mon May 26 18:41:03 PDT 2003


On Mon, May 26, 2003 at 08:34:09PM -0500, Kelledin wrote:
> As for that, isn't there a mythical "patched" version of libtool 
> that prunes out those crappy duplicates?  libtool is the real 
> problem here--it takes everything wholesale from relevant .la 
> scripts and doesn't bother to sort any of it out.

Recent libtools are a lot better. The default behaviour now is to strip out
dupes. But it doesn't always work due to Makefile vagaries.

ltmain.sh contains this:-

"--preserve-dup-deps) duplicate_deps="yes" ;;"

so you can tell it to preserve dupes if you want to.

The real problem is that most libtool using pkg's come with their own
libtool, so if it aint a newer version, then you're outta luck :-(

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list