|
From: | Lorenzo Bettini |
Subject: | Re: invoke pkg-config with --static |
Date: | Sun, 17 May 2009 09:07:16 +0200 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090409) |
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 environment variables enable_shared and enable_static are set to 'yes' if shared and/or static libraries will be built. You can test these environment variables to determine the parameter to pass to pkg-config.
but this cannot be done using the pkg-config autoconf macro, can it? -- 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
[Prev in Thread] | Current Thread | [Next in Thread] |