mirror of
git://github.com/lxc/lxc
synced 2025-08-31 14:28:24 +00:00
Fix build with --enable-tests on Fedora
When using --enable-tests on Fedora, the linker complains with: "undefined reference to symbol sem_getvalue", which nm shows to be in libpthread not librt. Build tested on Fedora, Oracle Linux, and Ubuntu. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
committed by
Stéphane Graber
parent
89573feb5b
commit
5f29734f7d
@@ -1,6 +1,6 @@
|
||||
if ENABLE_TESTS
|
||||
|
||||
LDADD = ../lxc/liblxc.so -lrt
|
||||
LDADD = ../lxc/liblxc.so -lpthread
|
||||
lxc_test_containertests_SOURCES = containertests.c
|
||||
lxc_test_locktests_SOURCES = locktests.c
|
||||
lxc_test_startone_SOURCES = startone.c
|
||||
|
Reference in New Issue
Block a user