package/audit: add support for host variant
authorAdam Duskett <Aduskett@gmail.com>
Sat, 16 Jul 2016 20:06:26 +0000 (16:06 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Jul 2016 20:47:58 +0000 (22:47 +0200)
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>
package/audit/audit.mk

index 89fdf1496d379c0e88cc5f167c56cc679275e4a1..06ec9595c0c296f9872db47b10bc212df56225bd 100644 (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))