package/audit: add support for host variant

host-libsemanage requires host-audit to compile, therefore this patch
adds a host variant for the audit package.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas: remove libcap-ng usage for now, rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Adam Duskett 2016-07-16 16:06:26 -04:00 committed by Thomas Petazzoni
parent 2d3bac0598
commit c2f7b6e196

View File

@ -58,4 +58,11 @@ define AUDIT_INSTALL_CLEANUP
endef
AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP
HOST_AUDIT_CONF_OPTS = \
--without-python \
--without-python3 \
--disable-zos-remote \
--without-libcap-ng
$(eval $(autotools-package))
$(eval $(host-autotools-package))