Alien-Base-Wrapper
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/alien_base_wrapper.t view on Meta::CPAN
sub cflags { '-I/foo/include -DBAR=1' }
sub cflags_static { 'wrong' }
sub libs { '-L/foo/lib -lfoo' }
sub libs_static { 'wrong' }
}
Alien::Base::Wrapper->import('Foo2');
is(
exec_arrayref {
local @ARGV = qw( one two three );
Alien::Base::Wrapper::cc();
},
[shellwords($Config{cc}), qw( -I/foo/include -DBAR=1 one two three )],
'cc',
);
is(
exec_arrayref {
local @ARGV = qw( one two three );
Alien::Base::Wrapper::ld();
},
[shellwords($Config{ld}), qw( -L/foo/lib one two three -lfoo )],
'ld',
);
};
subtest 'share' => sub {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.479 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )