Re: invoke pkg-config with --static

2009-05-25 Thread Ralf Wildenhues
Hello Lorenzo, * Lorenzo Bettini wrote on Sat, May 23, 2009 at 11:24:30PM CEST: Ralf Wildenhues wrote: You can just use pkg-config --static all the time, unless ( disable_static ( host_os == Linux || host_os == Solaris ) ) OK, so going back to the fact that, e.g. for debian packages, it's

Re: invoke pkg-config with --static

2009-05-23 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * Lorenzo Bettini wrote on Fri, May 22, 2009 at 03:48:49PM CEST: No I meant: if additional libraries are shown when building with shared library enable, this should do no harm, shouldn't it? In such case, one could simply not use .Private specification in .pc file.

Re: invoke pkg-config with --static

2009-05-23 Thread Robert Collins
On Sat, 2009-05-23 at 18:18 +0200, Lorenzo Bettini wrote: Ralf Wildenhues wrote: Of course, as soon as you propose your software for packaging at debian.org, they will count not using .Private as bug ... ;-) uh! Good to know that! Thanks :-) This is because when you link against

Re: invoke pkg-config with --static

2009-05-23 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hi Lorenzo, * 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

Re: invoke pkg-config with --static

2009-05-22 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * 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 ==

Re: invoke pkg-config with --static

2009-05-22 Thread Ralf Wildenhues
* Lorenzo Bettini wrote on Fri, May 22, 2009 at 03:48:49PM CEST: No I meant: if additional libraries are shown when building with shared library enable, this should do no harm, shouldn't it? In such case, one could simply not use .Private specification in .pc file. D'oh. Yes, I guess

Re: invoke pkg-config with --static

2009-05-19 Thread Ralf Wildenhues
* 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

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Robert Collins wrote: On Sat, 2009-05-16 at 19:04 -0500, 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

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
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)? It seems that LT_INIT has been executed, the shell

Re: invoke pkg-config with --static

2009-05-17 Thread Ralf Wildenhues
Hi Lorenzo, * 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

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Ralf Wildenhues wrote: Hi Lorenzo, * 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

Re: invoke pkg-config with --static

2009-05-17 Thread Ralf Wildenhues
* 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

Re: invoke pkg-config with --static

2009-05-17 Thread Lorenzo Bettini
Ralf Wildenhues wrote: * 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,

invoke pkg-config with --static

2009-05-16 Thread Lorenzo Bettini
Hi 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)? -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233)

Re: invoke pkg-config with --static

2009-05-16 Thread Bob Friesenhahn
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)? It seems that LT_INIT has been executed, the shell environment variables

Re: invoke pkg-config with --static

2009-05-16 Thread Robert Collins
On Sat, 2009-05-16 at 19:04 -0500, 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)? It seems