Browse Source

audit: improved to not build python language bindings if python or swig is not installed

user/chris/next/master
Christian Wiese 13 years ago
parent
commit
c7e86d3f8d
  1. 6
      security/audit/audit.conf

6
security/audit/audit.conf

@ -29,3 +29,9 @@ else
# hack for disabling the zos-remote plugin which depends on openldap
hook_add preconf 1 'sed -i -e "s/zos\-remote\ //" audisp/plugins/Makefile.in'
fi
# python bindings are generated through swig
if ! pkginstalled -f python || ! pkginstalled -f swig; then
echo_status "Disabling build of python language bindings"
var_append extraconfopt ' ' "--without-python"
fi

Loading…
Cancel
Save