Alien::Build::Plugin::PkgConfig::Wrapper - Alien::Build plugin to ensure the pure perl PkgConfig is not run by the MSYS perl
version 0.01
use alienfile share { # other commands to download, unpack etc., # and then: plugin 'PkgConfig::PPWrapper'; # followed by any build commands }; 1;
The pure perl PkgConfig script works well, but when called by Alien::Build::Plugin::Build::Autoconf on Windows it is called using the MSYS perl due to its shebang line. This leads to issues with path separators in $ENV{PKG_CONFIG_PATH}.
$ENV{PKG_CONFIG_PATH}
This plugin generates a wrapper script that ensures that the perl running the alienfile is also used to call the pkg-config.pl script.
It has (should have) no effect on non-Windows operating systems, or when the pure-perl pkg-config is not being used.
Shawn Laffan <shawnlaffan@cpan.org>
This software is copyright (c) 2020 by Shawn Laffan.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alien::Build::Plugin::PkgConfig::PPWrapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Build::Plugin::PkgConfig::PPWrapper
CPAN shell
perl -MCPAN -e shell install Alien::Build::Plugin::PkgConfig::PPWrapper
For more information on module installation, please visit the detailed CPAN module installation guide.