From: Ozan Caglayan Date: Fri, 1 Oct 2010 15:07:03 +0000 (+0200) Subject: Fix linking problems with libcap X-Git-Tag: lxc-0.7.3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52455f2d5b152aa62dadd46e3d0ea65c30645b9;p=thirdparty%2Flxc.git Fix linking problems with libcap Correctly link to libcap to avoid underlinking and unused direct dependency problems. Signed-off-by: Ozan Caglayan Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index b851e2c98..d2ee4d90a 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -59,7 +59,7 @@ liblxc_so_LDFLAGS = \ -shared \ -Wl,-soname,liblxc.so.$(firstword $(subst ., ,$(VERSION))) -liblxc_so_LDADD = -lutil +liblxc_so_LDADD = -lutil $(CAP_LIBS) bin_SCRIPTS = \ lxc-ps \