Alien-Libarchive
view release on metacpan or search on metacpan
lib/Alien/Libarchive.pm view on Meta::CPAN
}
sub pkg_config_name
{
'libarchive';
}
# extract the macros from the header files, this is a private function
# because it may not be portable. Used by the Archive::Libarchive::XS
# build process (and maybe Archive::Libarchive::FFI) to automatically
# generate constants
# UPDATE: this maybe should use C::Scan or C::Scan::Constants
sub _macro_list
{
require Config;
require File::Temp;
require File::Spec;
my $alien = Alien::Libarchive->new;
my $cc = "$Config::Config{ccname} $Config::Config{ccflags} " . $alien->cflags;
( run in 0.283 second using v1.01-cache-2.11-cpan-8d75d55dd25 )