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.0.4~267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07c046cda3b2df9abe149741b7f86c16c84ec9bc;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 604acbc16..bfaf2fa02 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -462,8 +462,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*