projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e5225b
)
link gtest code with -lpthread
author
Evan Martin
<martine@danga.com>
Fri, 9 Sep 2011 15:53:08 +0000
(08:53 -0700)
committer
Evan Martin
<martine@danga.com>
Fri, 9 Sep 2011 15:53:08 +0000
(08:53 -0700)
I broke this in a refactoring.
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
8d9caca
..
6d21e6b
100755
(executable)
--- 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)])