From 9760cfccf2a708476a0921d7405102948235cb8b Mon Sep 17 00:00:00 2001 From: 2xsec Date: Fri, 30 Nov 2018 15:31:31 +0900 Subject: [PATCH] fix install error when using --disable-commands option Signed-off-by: 2xsec --- src/lxc/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) 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* -- 2.39.2