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 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 ) )


OK, so going back to the fact that, e.g. for debian packages, it's better to have .Private, could you please show a possible use of this technique from configure.ac?

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net



Reply via email to