Cleanup: Check for pthread in Libc
[urcu.git] / tests / regression / Makefile.am
index 2c0542f95d2cf567f816a98baf15f3cf2dbfcd71..80cb1bc3ab04b1b3617e64f8f5583fb3bf912770 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_urcu_fork \
This page took 0.023698 seconds and 4 git commands to generate.