projects
/
linux-seccomp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8befd5c
)
Build against bundled libseccomp
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 19 Nov 2016 19:55:54 +0000
(19:55 +0000)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 19 Nov 2016 19:55:54 +0000
(19:55 +0000)
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index 7b4d612c333186cb15cacf02a08493da0ae26840..c2dca8ed2bf6b9fc05b5d4a8447e277087d48b88 100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-19,6
+19,8
@@
WriteMakefile(
},
PREREQ_PM => {},
LIBS => ['-lseccomp'],
},
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 => {
META_ADD => {
dynamic_config => 1,
resources => {
@@
-27,6
+29,13
@@
WriteMakefile(
}
);
}
);
+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
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
This page took
0.011159 seconds
and
4
git commands to generate.