
27 Dec
2004
27 Dec
'04
3:27 a.m.
On Thu, Dec 16, 2004 at 10:19:36AM +0000, Jonathan Wakely wrote:
I though that emits the flags that /should/be/ used to compile against Boost, not the flags the /were/ used to compile Boost itself.
You can store arbitrary variables in .pc files and retrieve them using pkg-config --variable=name. The only trick here is to define the name of the package or packages and make that consistent across all systems. It's no use to have boost-redhat.pc and boost-darwin.pc because that's precisely the point of pkg-config. boost.pc and boost-signals.pc and boost-regex.pc are all fine. Marcelo