conditionalizing variables

Tollef Fog Heen tfheen at
Fri Feb 18 08:25:30 PST 2011

]] Stefan Seefeld 


| I'm using pkg-config with a project that provides both, dynamic as
| well as static libraries. I'm looking for ways to allow users to
| decide whether to link statically or dynamically. What is the best way
| to achieve that ?

Use Libs.private and Libs for that.

| For example, could the .pc file itself contain conditionals, such as


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

More information about the pkg-config mailing list