Cleanup: Check for pthread in Libc
[urcu.git] / tests / benchmark / Makefile.am
index e071034eff8b310dd5321aef4909c84d3242944c..e889f8875669b539c4d3ecaef9810d1695c61377 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 test_urcu_dynamic_link test_urcu_timing \
This page took 0.021982 seconds and 4 git commands to generate.