summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-11-22 02:13:48 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-11-22 02:15:35 (GMT)
commit2af5eef7c71131a3cb995d3d8e297378bacf6ac1 (patch)
tree8b1e77fa892cfe0f6d7a04bca9b7096fd9258a51 /configure.py
parent60e8da125b20548a224239451314a1b20c9bccf7 (diff)
downloadNinja-2af5eef7c71131a3cb995d3d8e297378bacf6ac1.zip
Ninja-2af5eef7c71131a3cb995d3d8e297378bacf6ac1.tar.gz
Ninja-2af5eef7c71131a3cb995d3d8e297378bacf6ac1.tar.bz2
Stop linking pthread.
It was only needed by gtest, which is no longer used. (Intesting note: I checked when the -lpthread flag was added, and it's been around since the first revision of build.ninja, which used to be checked in before configure.py existed. Back then, it looks like '@' was used to dereference built-in variables, and build outputs were also prefixed by '@'!).
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 6d4c4d4..eacf5a0 100755
--- a/configure.py
+++ b/configure.py
@@ -513,8 +513,6 @@ if platform.is_windows():
for name in ['includes_normalize_test', 'msvc_helper_test']:
objs += cxx(name)
-if not platform.is_windows():
- test_libs.append('-lpthread')
ninja_test = n.build(binary('ninja_test'), 'link', objs, implicit=ninja_lib,
variables=[('libs', test_libs)])
n.newline()