From a52455f2d5b152aa62dadd46e3d0ea65c30645b9 Mon Sep 17 00:00:00 2001 From: Ozan Caglayan Date: Fri, 1 Oct 2010 17:07:03 +0200 Subject: [PATCH] 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 --- src/lxc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \