X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2FMakefile.am;h=e889f8875669b539c4d3ecaef9810d1695c61377;hb=d251e6454df8976cd28c01536e0e41f02f5de072;hp=e071034eff8b310dd5321aef4909c84d3242944c;hpb=f5ab766ee2c8300cb00ca5878b1cb464f960a66d;p=urcu.git diff --git a/tests/benchmark/Makefile.am b/tests/benchmark/Makefile.am index e071034..e889f88 100644 --- a/tests/benchmark/Makefile.am +++ b/tests/benchmark/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_urcu test_urcu_dynamic_link test_urcu_timing \