Alien::Build::Plugin::PkgConfig::PPWrapper(3)

NAME
Alien::Build::Plugin::PkgConfig::Wrapper - Alien::Build plugin to ensure the pure perl PkgConfig is not run by the MSYS perl

VERSION
version 0.01

SYNOPSIS
    use alienfile
    share {
        #  other commands to download, unpack etc.,
        #  and then:
        plugin 'PkgConfig::PPWrapper';

        #  followed by any build commands
    };

 1;

DESCRIPTION
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}.

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.

SEE ALSO

Alien::Build

AUTHOR
Shawn Laffan <shawnlaffan@cpan.org>

COPYRIGHT AND LICENSE
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.