Alien::Build::Wrapper - Compiler and linker wrapper for late optional Alien utilization
version 0.24
% perl -MAlien::Build::Wrapper=Alien::Foo,Alien::Bar -e cc -o foo.o -c foo.c % perl -MAlien::Build::Wrapper=Alien::Foo,Alien::Bar -e ld -o foo foo.o
Note: this particular module is still somewhat experimental.
This module provides a command line wrapper for Alien modules that are based on Alien::Base. The idea is to eventually use this to allow optional use of Alien modules by XS which cannot probe for a system library. Historically an XS module that wanted to use an Alien had to always have it as a prerequisite.
% perl -MAlien::Build::Wrapper=Alien::Foo -e cc cflags
Invoke the C compiler with the appropriate flags from Alien::Foo and what is provided on the command line.
Alien::Foo
% perl -MAlien::Build::Wrapper=Alien::Foo -e ld ldflags
Invoke the linker with the appropriate flags from Alien::Foo and what is provided on the command line.
Alien::Build::Wrapper responds to these environment variables:
Do not print the command before executing
Alien::Build, Alien::Base
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2017 by Graham Ollis.
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, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Build
CPAN shell
perl -MCPAN -e shell install Alien::Build
For more information on module installation, please visit the detailed CPAN module installation guide.