[Top][All Lists]

[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: Sun, 17 May 2009 13:08:40 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Lorenzo Bettini wrote on Sun, May 17, 2009 at 12:27:32PM CEST:
> Ralf Wildenhues wrote:
>> * Lorenzo Bettini wrote on Sun, May 17, 2009 at 09:07:16AM CEST:
>>> Bob Friesenhahn wrote:
>>>> On Sat, 16 May 2009, Lorenzo Bettini wrote:
>>>>> when ./configure is run with --disable-shared, is there a way to  
>>>>> invoke the pkg-config macro with --static (so that it does not 
>>>>> select private libraries in the .pc file)?
>> 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.

> and always have all the libraries  
> dependences right?


reply via email to

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