]> iEval git - linux-seccomp.git/commitdiff
No need for Devel::CheckLib anymore
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 19 Nov 2016 19:56:21 +0000 (19:56 +0000)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 19 Nov 2016 19:58:58 +0000 (19:58 +0000)
Makefile.PL

index c2dca8ed2bf6b9fc05b5d4a8447e277087d48b88..adf29be9dec6fac0b40f3231930a92470b097eeb 100644 (file)
@@ -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           => {
This page took 0.023863 seconds and 4 git commands to generate.