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*