Skip to content

Commit

Permalink
Merge pull request #2743 from 2xsec/build
Browse files Browse the repository at this point in the history
fix install error when using --disable-commands option
  • Loading branch information
brauner committed Nov 30, 2018
2 parents ec4b01c + 9760cfc commit 9e42c1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lxc/Makefile.am
Expand Up @@ -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*
Expand Down

0 comments on commit 9e42c1e

Please sign in to comment.