]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix linking problems with libcap
authorOzan Caglayan <ozan@pardus.org.tr>
Fri, 1 Oct 2010 15:07:03 +0000 (17:07 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 1 Oct 2010 15:07:03 +0000 (17:07 +0200)
Correctly link to libcap to avoid underlinking and unused direct
dependency problems.

Signed-off-by: Ozan Caglayan <ozan@pardus.org.tr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/Makefile.am

index b851e2c98e508c41341fe9720d17fa89cdefb2b1..d2ee4d90a2c35c2a6043f6c05ae9e1a4e732e78b 100644 (file)
@@ -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 \