Cleanup: Check for pthread in Libc
[urcu.git] / tests / unit / Makefile.am
index 1fa8b71f047fefd2417681efdac45882d88ec46d..9efd74ed76a881a6a7ab8423ee52a565ef143565 100644 (file)
@@ -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 \
This page took 0.02257 seconds and 4 git commands to generate.