aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-06-06 08:32:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-06-06 08:32:33 +0200
commita093e86f991151228f64f89810f539ada40962b7 (patch)
tree1f6ea790ea863830620bbbef939172f2e0338f0d /tests
parentcf5ac6d727321426776f6231293a68e82a38c157 (diff)
Use -pthread instead of -lpthread
Diffstat (limited to 'tests')
-rw-r--r--tests/builtin/buildfile2
-rw-r--r--tests/fdstream/buildfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/builtin/buildfile b/tests/builtin/buildfile
index 8d22fe4..2f23ab2 100644
--- a/tests/builtin/buildfile
+++ b/tests/builtin/buildfile
@@ -8,4 +8,4 @@ import libs = libbutl%lib{butl}
exe{driver}: {hxx cxx}{*} $libs testscript{*}
if ($cxx.target.class != 'windows')
- cxx.libs += -lpthread
+ cxx.libs += -pthread
diff --git a/tests/fdstream/buildfile b/tests/fdstream/buildfile
index ee90324..27f6cbe 100644
--- a/tests/fdstream/buildfile
+++ b/tests/fdstream/buildfile
@@ -6,4 +6,4 @@ import libs = libbutl%lib{butl}
exe{driver}: {hxx cxx}{*} $libs
if ($cxx.target.class != "windows")
- cxx.libs += -lpthread
+ cxx.libs += -pthread