e71ef565e7
Fix the following build failure raised since bump to version 5.0.1 in
commit db19998035
:
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
../output-1/build/lxc-5.0.1/config/init/systemd/meson.build:11:4: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
Fixes:
- http://autobuild.buildroot.org/results/495175c367084093bc01c40290736c738d876894
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
82 lines
1.8 KiB
Makefile
82 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# lxc
|
|
#
|
|
################################################################################
|
|
|
|
LXC_VERSION = 5.0.1
|
|
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
|
LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+
|
|
LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
|
|
LXC_CPE_ID_VENDOR = linuxcontainers
|
|
LXC_DEPENDENCIES = host-pkgconf
|
|
LXC_INSTALL_STAGING = YES
|
|
|
|
LXC_CONF_OPTS = \
|
|
-Dapparmor=false \
|
|
-Dexamples=false \
|
|
-Dman=false
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
LXC_DEPENDENCIES += bash-completion
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
LXC_CONF_OPTS += -Dcapabilities=true
|
|
LXC_DEPENDENCIES += libcap
|
|
else
|
|
LXC_CONF_OPTS += -Dcapabilities=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
LXC_CONF_OPTS += -Dseccomp=true
|
|
LXC_DEPENDENCIES += libseccomp
|
|
else
|
|
LXC_CONF_OPTS += -Dseccomp=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
LXC_CONF_OPTS += -Dselinux=true
|
|
LXC_DEPENDENCIES += libselinux
|
|
else
|
|
LXC_CONF_OPTS += -Dselinux=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBURING),y)
|
|
LXC_CONF_OPTS += -Dio-uring-event-loop=true
|
|
LXC_DEPENDENCIES += liburing
|
|
else
|
|
LXC_CONF_OPTS += -Dio-uring-event-loop=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
LXC_CONF_OPTS += -Dpam-cgroup=true
|
|
LXC_DEPENDENCIES += linux-pam
|
|
else
|
|
LXC_CONF_OPTS += -Dpam-cgroup=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LXC_CONF_OPTS += -Dopenssl=true
|
|
LXC_DEPENDENCIES += openssl
|
|
else
|
|
LXC_CONF_OPTS += -Dopenssl=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
LXC_CONF_OPTS += -Dsd-bus=enabled
|
|
LXC_DEPENDENCIES += systemd
|
|
else
|
|
LXC_CONF_OPTS += -Dsd-bus=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
LXC_CONF_OPTS += -Dinit-script=systemd
|
|
else ifeq ($(BR2_INIT_SYSV),y)
|
|
LXC_CONF_OPTS += -Dinit-script=sysvinit
|
|
else
|
|
LXC_CONF_OPTS += -Dinit-script=
|
|
endif
|
|
|
|
$(eval $(meson-package))
|