From 753615edaa580bde601c9be5fd96ea935db422a4 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 15 Oct 2023 20:42:29 +0200 Subject: [PATCH] FreeBSD regtest: add required library for C11 threads --- drd/tests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.5