On Tue, Feb 26, 2008 at 03:14:43PM -0800, Alan Coopersmith wrote:
> Nicolas Williams wrote:
> > BTW, I rather expect that we'll see a lot more of this as we add more
> > and more libtool-using FOSS to SFW.
> 
> As X is converted to libtool, I've found I've had to alternately use
> LD_OPTIONS to pass flags behind it's back that it doesn't approve of
> and use perl hackery to remove it from the Makefiles in the cases where
> it's too broken to hack around (such as it's insistence that 64-bit
> binaries must be linked with the -64 flag, even if you're calling cc
> instead of directly to ld to link, since it assumes everyone uses ld).

That's what I was afraid of.

Sigh.

(Perhaps we can have a super-LD_OPTIONS that allows one to specify
different options depending on the resulting object name.  That would
simplify my makefile in the case of SQLite3.)

We could, also, work on libtool enhancements and contribute them.  Who
knows, they might be accepted.  I don't have the cycles to do it myself
at this time, so I'm not volunteering.

Nico
-- 

Reply via email to