From: Marius Gavrilescu Date: Sat, 19 Nov 2016 19:56:21 +0000 (+0000) Subject: No need for Devel::CheckLib anymore X-Git-Tag: 0.002~6 X-Git-Url: http://git.ieval.ro/?p=linux-seccomp.git;a=commitdiff_plain;h=0f2e0967ddbd2c70e153423cddeb9f184761eb70 No need for Devel::CheckLib anymore --- diff --git a/Makefile.PL b/Makefile.PL index c2dca8e..adf29be 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,10 +1,6 @@ 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', @@ -13,12 +9,8 @@ WriteMakefile( 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 => {