automake
[Top][All Lists]
Advanced

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

Re: invoke pkg-config with --static


From: Ralf Wildenhues
Subject: Re: invoke pkg-config with --static
Date: Wed, 20 May 2009 00:07:59 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:01:18PM CEST:
> Ralf Wildenhues wrote:
>> * Lorenzo Bettini wrote on Sun, May 17, 2009 at 12:27:32PM CEST:
>>> Ralf Wildenhues wrote:
>>>> You can just use pkg-config --static all the time, unless
>>>>  ( disable_static && ( host_os == Linux || host_os == Solaris ) )
>>>>
>>>> Works wonders! :-)
>>> mhhh... so basically this means that it is better not to use   
>>> Libs.private in the pkg-config file,
>>
>> No, that is not what I said.  Doing that will continue to do the wrong
>> thing even when Libtool is fixed one day.
>
> No, I meant: not using Libs.private at all is however a safe choice,  
> isn't it?

No, it isn't.  At least that's how I understand it.  Why would you think
so?

Only on GNU/Linux and Solaris it might be safe, and only if you don't
care about static linkage.

Cheers,
Ralf




reply via email to

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