Getting at Libs.private from autoconf

Tollef Fog Heen tfheen at err.no
Thu Feb 12 04:26:34 PST 2009


]] David Evans 

| On Wed, Feb 11, 2009 at 10:21:39PM +0100, Tollef Fog Heen wrote:
| > ]] David Evans 
| > 
| > |   True,. although you already call pkg-config twice (for --cflags and
| > | --libs).  Is --statiuc expeced to be expensive or is it just that it's
| > | silly to call it evvery time if it's rarely used?
| > 
| > The problem is it'll break if you don't have all the recursive
| > dependencies installed, not the cost of calling pkg-config.
| 
|   Ahahh!  Fair enough, though if you're doing static linking and
| you don't have the dependencies installed, you're in for pain anyway,
| Still, there might be a nasty interaction with cross compiling.

Of course, which is why I wanted this to be added as an option (for the
writer of the configure.ac file) rather than it always being called.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73


More information about the pkg-config mailing list