]> git.proxmox.com Git - mirror_lxc.git/commit
Fix build with --enable-tests on Fedora
authorDwight Engen <dwight.engen@oracle.com>
Wed, 28 Nov 2012 21:51:37 +0000 (16:51 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 29 Nov 2012 15:28:06 +0000 (10:28 -0500)
commit5f29734f7d21907a9c463cf354d1bef5de9f08b5
treeb28d155fde8687bf9bd93a70bb3b48748b0e8c7c
parent89573feb5b507a61738523ecfe1c8fbcb57726b8
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>
src/tests/Makefile.am