Fix linking problems with libcap

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>
This commit is contained in:
Ozan Caglayan 2010-10-01 17:07:03 +02:00 committed by Daniel Lezcano
parent 1e499b1158
commit a52455f2d5

View 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 \