Getting at Libs.private from autoconf

Tollef Fog Heen tfheen at
Tue Feb 10 22:33:14 PST 2009

]] David Evans 

|   Libs.private is nice but there doesn't seem to b a clean way of
| getting at --libs --shared from autoconf.  How about defining
| foo_STATICLIBS to do this?  Something like

The problem with this (and particularly this approach) is that you end
up always calling pkg-config --static on all invocations.  This is
something we don't want to: in the general case, you don't need all
recursive private dependencies of your requirements.  I guess we could
add a fifth parameter to PKG_CHECK_MODULES, or add an

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

More information about the pkg-config mailing list