aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/buildfile2
-rw-r--r--tests/builtin/buildfile2
-rw-r--r--tests/fdstream/buildfile2
3 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/buildfile b/libbutl/buildfile
index ba4ad96..bbecf43 100644
--- a/libbutl/buildfile
+++ b/libbutl/buildfile
@@ -76,7 +76,7 @@ switch $tclass, $tsys
}
if! $windows
- cxx.libs += -lpthread
+ cxx.libs += -pthread
# Include the generated version header into the distribution (so that we don't
# pick up an installed one) and don't remove it when cleaning in src (so that
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