|Think about Loose Coupling|
Re^2: [Win32, MinGW] Building extensions that access libfoo's foo-config fileby syphilis (Chancellor)
|on Aug 31, 2012 at 08:55 UTC||Need Help??|
ExtUtils::PkgConfig - simplistic interface to pkg-config
Yes, EU::PC works well once it is installed - it's the gtk2 dependency that deters me from promoting it.
I take it that PkgConfig.pm replaces *both* EU::PC and plg-config ?
I'll take a closer look at PkgConfig.pm when I get a chance - though unless module authors start using it, there's not so much incentive to look at it.
Do any modules use it yet ?
Math-GSL-0.26 used EU::PC, but then they added the gsl-config stuff in 0.27. They still left the EU::PC stuff in there as a fallback, but managed to break it in the process.
The lib-config approach is certainly nice where it works - no extra modules or packages to install.
It's just unfortunate that a native Win32 executable version of the lib-config file doesn't get built on Windows.