]> git.proxmox.com Git - mirror_lxc.git/commitdiff
fix install error when using --disable-commands option
author2xsec <dh48.jeong@samsung.com>
Fri, 30 Nov 2018 06:31:31 +0000 (15:31 +0900)
committer2xsec <dh48.jeong@samsung.com>
Fri, 30 Nov 2018 06:31:31 +0000 (15:31 +0900)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
src/lxc/Makefile.am

index 90410a4845268d74081d520a5e215e945757b5d1..95b0a2f724fc439214660fc3a66495f40b198188 100644 (file)
@@ -463,8 +463,10 @@ install-exec-local: install-libLTLIBRARIES
        ln -sf liblxc.so.@LXC_ABI@ liblxc.so.$(firstword $(subst ., ,@LXC_ABI@)); \
        ln -sf liblxc.so.$(firstword $(subst ., ,@LXC_ABI@)) liblxc.so
 
+if ENABLE_COMMANDS
 install-exec-hook:
        chmod u+s $(DESTDIR)$(libexecdir)/lxc/lxc-user-nic
+endif
 
 uninstall-local:
        $(RM) $(DESTDIR)$(libdir)/liblxc.so*