From: 2xsec Date: Fri, 30 Nov 2018 06:31:31 +0000 (+0900) Subject: fix install error when using --disable-commands option X-Git-Tag: lxc-3.1.0~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9760cfccf2a708476a0921d7405102948235cb8b;p=thirdparty%2Flxc.git fix install error when using --disable-commands option Signed-off-by: 2xsec --- diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 90410a484..95b0a2f72 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -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*