libapparmor: build perl bindings
There are still a few utils which use Perl, though most have been ported to
Python. Note that SWIG v2 is required to avoid the `error: 'bool' undeclared`
build failure with Perl >=5.16 [1].
[1]: 4305a3cef9
This commit is contained in:
parent
38dc021b16
commit
d3ea6abf0e
@ -54,7 +54,7 @@ let
|
|||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd ./libraries/libapparmor
|
cd ./libraries/libapparmor
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --prefix="$out" --with-python
|
./configure --prefix="$out" --with-python --with-perl
|
||||||
make
|
make
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -8676,7 +8676,7 @@ let
|
|||||||
perl = perl516; # ${perl}/.../CORE/handy.h:124:34: error: 'bool' undeclared
|
perl = perl516; # ${perl}/.../CORE/handy.h:124:34: error: 'bool' undeclared
|
||||||
};
|
};
|
||||||
|
|
||||||
apparmor_2_9 = callPackage ../os-specific/linux/apparmor/2.9 { };
|
apparmor_2_9 = callPackage ../os-specific/linux/apparmor/2.9 { swig = swig2; };
|
||||||
libapparmor = apparmor_2_9.libapparmor;
|
libapparmor = apparmor_2_9.libapparmor;
|
||||||
apparmor-pam = apparmor_2_9.apparmor-pam;
|
apparmor-pam = apparmor_2_9.apparmor-pam;
|
||||||
apparmor-parser = apparmor_2_9.apparmor-parser;
|
apparmor-parser = apparmor_2_9.apparmor-parser;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user