Alien-DjVuLibre
view release on metacpan or search on metacpan
if( $^O eq 'MSWin32' ) {
# possibly only needed for MinGW
push @extra_compiler_flags, qw(-DDDJVUAPI_EXPORT -DMINILISPAPI_EXPORT);
}
my @extra_linker_flags;
push @extra_linker_flags, ExtUtils::CppGuess->new->linker_flags;
if( $^O eq 'darwin' ) {
push @extra_linker_flags, qw(-framework CoreFoundation);
}
for my $type ('', '_static') {
$build->runtime_prop->{"cflags$type"} = join ' ',
$build->runtime_prop->{"cflags$type"},
@extra_compiler_flags;
$build->runtime_prop->{"libs$type"} = join ' ',
$build->runtime_prop->{"libs$type"},
@extra_linker_flags;
}
( run in 2.603 seconds using v1.01-cache-2.11-cpan-df04353d9ac )