use 5.014000;
-use Devel::CheckLib;
use ExtUtils::MakeMaker;
-check_lib_or_exit
- lib => 'seccomp';
-
WriteMakefile(
NAME => 'Linux::Seccomp',
VERSION_FROM => 'lib/Linux/Seccomp.pm',
MIN_PERL_VERSION => '5.14.0',
LICENSE => 'perl',
SIGN => 1,
- CONFIGURE_REQUIRES => {
- qw/Devel::CheckLib 0
- ExtUtils::MakeMaker 0/,
- },
PREREQ_PM => {},
- LIBS => ['-lseccomp'],
+ INC => '-Ilibseccomp/include',
MYEXTLIB => 'libseccomp/src/.libs/libseccomp$(LIB_EXT)',
clean => { FILES => 'libseccomp/src/.libs/libseccomp$(LIB_EXT)' },
META_ADD => {