aboutsummaryrefslogtreecommitdiff
path: root/package/lxc/Config.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2016-03-18 22:24:49 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-03-18 22:24:49 +0100
commitf009dd2bfe199168d65c6a8b501e9239a0a28ddd (patch)
tree2a950c30633f089fcb3f443281ff58e8f0425954 /package/lxc/Config.in
parent598d1e53c1a15bb983ed96a19db411bbcdfd97df (diff)
downloadbuildroot-f009dd2bfe199168d65c6a8b501e9239a0a28ddd.tar.gz
buildroot-f009dd2bfe199168d65c6a8b501e9239a0a28ddd.tar.bz2
Revert "lxc: remove dependency on headers >= 3.0"
This reverts commit 598d1e53c1a15bb983ed96a19db411bbcdfd97df. [Peter: Seems like I ended up applying the wrong patch :/] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lxc/Config.in')
-rw-r--r--package/lxc/Config.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/lxc/Config.in b/package/lxc/Config.in
index acc561c2dd..3253f144a6 100644
--- a/package/lxc/Config.in
+++ b/package/lxc/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LXC
depends on BR2_USE_MMU # fork()
# build system forcefully builds a shared library
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
help
Linux Containers (LXC), provides the ability to group and isolate
of a set of processes in a jail by virtualizing and accounting the
@@ -12,7 +13,8 @@ config BR2_PACKAGE_LXC
https://linuxcontainers.org/
-comment "lxc needs a toolchain w/ threads, dynamic library"
+comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS \
+ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|| BR2_STATIC_LIBS