},
PREREQ_PM => {},
LIBS => ['-lseccomp'],
+ MYEXTLIB => 'libseccomp/src/.libs/libseccomp$(LIB_EXT)',
+ clean => { FILES => 'libseccomp/src/.libs/libseccomp$(LIB_EXT)' },
META_ADD => {
dynamic_config => 1,
resources => {
}
);
+sub MY::postamble {
+'
+$(MYEXTLIB): libseccomp/configure
+ cd libseccomp && ./configure && `which gmake || echo $(MAKE)` all
+'
+}
+
if (eval {require ExtUtils::Constant; 1}) {
# If you edit these definitions to change the constants used by this module,
# you will need to use the generated const-c.inc and const-xs.inc