summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-09-09 15:53:08 (GMT)
committerEvan Martin <martine@danga.com>2011-09-09 15:53:08 (GMT)
commitf5ac6b4cea0f67cf2dae4f2d48cdda3664f957ac (patch)
treeec6060c95a848a76b8f07469266215fccacf373f /configure.py
parent4e5225b94ec4d099ff5a9ec518451f6ad948d073 (diff)
downloadNinja-f5ac6b4cea0f67cf2dae4f2d48cdda3664f957ac.zip
Ninja-f5ac6b4cea0f67cf2dae4f2d48cdda3664f957ac.tar.gz
Ninja-f5ac6b4cea0f67cf2dae4f2d48cdda3664f957ac.tar.bz2
link gtest code with -lpthread
I broke this in a refactoring.
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)])