summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 8d9caca..6d21e6b 100755
--- a/configure.py
+++ b/configure.py
@@ -178,7 +178,7 @@ for name in ['build_test', 'build_log_test', 'disk_interface_test',
objs += cxx(name, variables=[('cflags', test_cflags)])
if platform != 'mingw':
- libs.append('-lpthread')
+ test_libs.append('-lpthread')
n.build('ninja_test', 'link', objs, implicit=ninja_lib,
variables=[('ldflags', test_ldflags),
('libs', test_libs)])