X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Funit%2FMakefile.am;h=9efd74ed76a881a6a7ab8423ee52a565ef143565;hp=1fa8b71f047fefd2417681efdac45882d88ec46d;hb=0e1efa0e8c7961fc3eca21d0268c07f44eb572e5;hpb=f5ab766ee2c8300cb00ca5878b1cb464f960a66d diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 1fa8b71..9efd74e 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -1,4 +1,6 @@ +if !LIBC_INCLUDES_PTHREAD AM_LDFLAGS=-lpthread +endif AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g noinst_PROGRAMS = test_uatomic \