From cc039d801e28cf2fdf6a1d1466865d142a4ef278 Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" Date: Mon, 21 Jan 2019 00:12:18 -0500 Subject: [PATCH] lxc: Disable use of unwanted libraries explicity Otherwise one gets a failure if the libraries (e.g. Python header file) exist in the build system. Worse in some cases is host headers being found if one doesn't specifically disable a library search in autotools. It is especially important that Python is disabled by default. Signed-off-by: Daniel F. Dickinson --- utils/lxc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile index 8f0798c67..01b0597de 100644 --- a/utils/lxc/Makefile +++ b/utils/lxc/Makefile @@ -140,10 +140,13 @@ define Package/lxc-init endef CONFIGURE_ARGS += \ - --disable-gnutls \ --disable-apparmor \ + --disable-cgmanager \ --disable-doc \ --disable-examples \ + --disable-gnutls \ + --disable-selinux \ + --disable-python \ --enable-lua=yes \ --with-lua-pc="$(STAGING_DIR)/usr/lib/pkgconfig/lua.pc"