2e461df5dd
When libseccomp was compiled before, lxc will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/lxc/lxc-monitord | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [liblxc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libcap.so.2] 0x0000000000000001 (NEEDED) Shared library: [libseccomp.so.2] [...] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
703 B
Makefile
26 lines
703 B
Makefile
################################################################################
|
|
#
|
|
# lxc
|
|
#
|
|
################################################################################
|
|
|
|
LXC_VERSION = 1.1.5
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
|
LXC_LICENSE = LGPLv2.1+
|
|
LXC_LICENSE_FILES = COPYING
|
|
LXC_DEPENDENCIES = libcap host-pkgconf
|
|
# we're patching configure.ac
|
|
LXC_AUTORECONF = YES
|
|
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
|
--disable-lua --disable-python \
|
|
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
LXC_CONF_OPTS += --enable-seccomp
|
|
LXC_DEPENDENCIES += libseccomp
|
|
else
|
|
LXC_CONF_OPTS += --disable-seccomp
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|