Alien-libpanda
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use 5.012;
use Config;
use XS::Install;
my %params = (
NAME => 'Alien::libpanda',
CPLUS => 14,
SRC => ['src'],
INC => '-Isrc',
BIN_SHARE => { INCLUDE => {'src' => '/'} },
CCFLAGS => '-Wall -Wextra',
MIN_PERL_VERSION => '5.12.0',
test => { SRC => 't', BIN_DEPS => 'Test::Catch' },
LIBS => ['-lexecinfo', ''],
);
if ($ENV{SANITIZE}) {
($params{CCFLAGS}||='') .= ' -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer';
$params{LIBS}[1] .= ' -lubsan -lasan'; #sanitizer
$params{LIBS}[0] .= ' -lubsan -lasan'; #sanitizer
}
write_makefile(%params);
( run in 0.912 second using v1.01-cache-2.11-cpan-df04353d9ac )