aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/function/buildfile')
-rw-r--r--unit-tests/function/buildfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/unit-tests/function/buildfile b/unit-tests/function/buildfile
index 5c326b8..27c73d1 100644
--- a/unit-tests/function/buildfile
+++ b/unit-tests/function/buildfile
@@ -4,6 +4,8 @@
#@@ Temporary until we get utility library support.
#
+if ($cxx.target.class != "windows")
+ cxx.libs += -lpthread
import libs = libbutl%lib{butl}
src = token lexer diagnostics utility variable name b-options types-parsers \
context scope parser target operation rule prerequisite file module function \
@@ -11,6 +13,7 @@ functions-builtin functions-path functions-process-path functions-string \
functions-target-triplet algorithm search dump filesystem \
config/{utility init operation}
+
exe{driver}: cxx{driver} ../../build2/cxx{$src} $libs test{call syntax}
include ../../build2/