From bb760b77dfacc30487e3ec9cfad4ba3186ff1533 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 17 Oct 2018 15:23:41 +0200 Subject: [PATCH] autotools: fix --disable-commands builds Signed-off-by: Christian Brauner --- src/lxc/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 8ca9caabe..c3714b8d8 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -266,11 +266,17 @@ bin_PROGRAMS = lxc-attach \ lxc-top \ lxc-unfreeze \ lxc-unshare \ - lxc-usernsexec \ lxc-wait endif if ENABLE_COMMANDS + +if ENABLE_TOOLS +bin_PROGRAMS += lxc-usernsexec +else +bin_PROGRAMS = lxc-usernsexec +endif + sbin_PROGRAMS = init.lxc pkglibexec_PROGRAMS = lxc-monitord \