Re: pkg-config question



Thomas Vander Stichele <thomas apestaart org> writes: 
> Hm, that's HUGELY annoying ;) Is there any way I can work around this, 
> using whatever means (maybe even splitting up libs) ? Any idea why this 
> behaviour would be better than what one would expect ?
> Would it make sense to somehow make it possible to influence the order of 
> -L flags (since it would seem from the description that it searches the 
> dirs in the order they are specified) ?
> Is this what .la files could solve better ?

I don't really know the answer to those questions, for the most
part. I could only speculate.

> > So if I understand your question correctly, the answer is "what
> > pkg-config does will not make any difference."
> 
> Yeah.  Damn.  Out of curiosity, if it used to not rearrange them, and ld 
> doesn't care either way, why was code added to sort out the -l and -L 
> flags ?

I don't remember. It may have been to be able to strip duplicate -L
flags, or maybe just to remove the special-case code.

Havoc



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