bug-libtool
[Top][All Lists]
Advanced

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

Re: Keeping ‘-B’ link flags


From: Ralf Wildenhues
Subject: Re: Keeping ‘-B’ link flags
Date: Thu, 20 May 2010 08:00:52 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

* Ludovic Courtès wrote on Tue, May 18, 2010 at 10:49:35AM CEST:
> Ralf Wildenhues writes:
> > We should probably allow -B through though, but I'm not sure if libtool
> > needs adjusting elsewhere for it.  Putting it in $CC seems safest.
> 
> I can’t think of a good reason to drop ‘-B’, but then I don’t what the
> implications of letting it through would be.

Well, if you don't stick -B in $CXX, for example, then the configure
tests will likely cause the wrong (i.e., the ones found without -B)
$postdeps and $postdep_objects to be computed for creation of C++ shared
libraries.  In that way, it is not helpful to pass through -B at link
time, you need to stick it in $CXX.

Cheers,
Ralf



reply via email to

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