Getting at Libs.private from autoconf

David Evans David.Evans at cl.cam.ac.uk
Thu Feb 12 03:20:48 PST 2009


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.

-- 
David Evans                                     David.Evans at cl.cam.ac.uk
Research Associate                        http://www.cl.cam.ac.uk/~de239
Computer Laboratory, University of Cambridge


More information about the pkg-config mailing list