From: Christian Brauner Date: Wed, 17 Oct 2018 13:23:41 +0000 (+0200) Subject: autotools: fix --disable-commands builds X-Git-Tag: lxc-3.1.0~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb760b77dfacc30487e3ec9cfad4ba3186ff1533;p=thirdparty%2Flxc.git autotools: fix --disable-commands builds Signed-off-by: Christian Brauner --- 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 \