]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
autotools: fix --disable-commands builds 2697/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 17 Oct 2018 13:23:41 +0000 (15:23 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 17 Oct 2018 13:23:41 +0000 (15:23 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/Makefile.am

index 8ca9caabec83be2d09076afa6a8f521751f75054..c3714b8d84f0ff103a8af8ec3a302e9f9103fe46 100644 (file)
@@ -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 \