lxc: Disable use of unwanted libraries explicity
authorDaniel F. Dickinson <cshored@thecshore.com>
Mon, 21 Jan 2019 05:12:18 +0000 (00:12 -0500)
committerDaniel F. Dickinson <cshored@thecshore.com>
Sun, 27 Jan 2019 20:11:11 +0000 (15:11 -0500)
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 <cshored@thecshore.com>
utils/lxc/Makefile

index 8f0798c675d70c11ca1fda4bf3cb898ca9e0bd2f..01b0597dec0faf212502488582f77c1a12c02ee7 100644 (file)
@@ -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"