aboutsummaryrefslogtreecommitdiff
path: root/package/lxc
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-12 22:08:43 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-13 14:29:02 +0100
commit61a425590a71d232480181431eb0073ad0c420a9 (patch)
treeee30c818906b7e17f4378dc47e7756401234fa64 /package/lxc
parentc37ee85639b03b7b34342c0a836f52b1a1355ad3 (diff)
downloadbuildroot-61a425590a71d232480181431eb0073ad0c420a9.tar.gz
buildroot-61a425590a71d232480181431eb0073ad0c420a9.tar.bz2
package/lxc: add optional dependency to bash-completion
lxc uses the completionsdir variable from bash-completions.pc to decide where to install things. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/lxc')
-rw-r--r--package/lxc/lxc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index c9838fb229..c758a15b9d 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -17,6 +17,10 @@ LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
--disable-werror \
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
+ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
+LXC_DEPENDENCIES += bash-completion
+endif
+
ifeq ($(BR2_PACKAGE_GNUTLS),y)
LXC_CONF_OPTS += --enable-gnutls
LXC_DEPENDENCIES += gnutls