From: Paul Floyd Date: Sun, 15 Oct 2023 18:42:29 +0000 (+0200) Subject: FreeBSD regtest: add required library for C11 threads X-Git-Tag: VALGRIND_3_22_0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753615edaa580bde601c9be5fd96ea935db422a4;p=thirdparty%2Fvalgrind.git FreeBSD regtest: add required library for C11 threads --- diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 1b0beb4dae..e0af0a22b8 100755 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -661,3 +661,6 @@ timed_mutex_SOURCES = timed_mutex.cpp timed_mutex_CXXFLAGS = $(AM_CXXFLAGS) -std=c++0x thrd_create_SOURCES = thrd_create.cpp +if VGCONF_OS_IS_FREEBSD +thrd_create_LDFLAGS = -lstdthreads +endif