Description
This is a follow-on from discussion in #195 (see #195 (comment) ).
There are colon issues with drive names and path separators when passing between Windows and MSYS, where the pure perl pkg-config is in use. Wrapping the pure perl pkg-config is one means of avoiding these issues, which was the purpose of #195 . Unfortunately the shell wrapper in #195 did not handle quoted arguments.
I have reworked the pure-perl pkg-config wrapper approach using perl for the wrapper script to better handle quoted arguments. I've released it to CPAN as a plugin, with development on GitHub.
https://metacpan.org/release/Alien-Build-Plugin-PkgConfig-PPWrapper
https://github.com/shawnlaffan/Alien-Build-Plugin-PkgConfig-PPWrapper
It works for Alien::gdal and Alien::proj based on CI results (see https://github.com/shawnlaffan/geo-gdal-ffi-canary , noting that recent CI failures are unrelated to the plugin code).
If you decide it's worth including in Alien::Build then I can work up another PR, or feel free to adapt as needed.