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:
4c4e7f0
)
Prevent multiple definition link error
author
Jon
<jon.forums@gmail.com>
Sat, 16 Jun 2012 15:52:58 +0000
(11:52 -0400)
committer
Jon
<jon.forums@gmail.com>
Sat, 16 Jun 2012 15:52:58 +0000
(11:52 -0400)
Globbed inclusion of `src/hash_collision_bench.cc` cause link errors
bootstrap.py
patch
|
blob
|
history
diff --git
a/bootstrap.py
b/bootstrap.py
index
3aac647
..
9ac46ba
100755
(executable)
--- a/
bootstrap.py
+++ b/
bootstrap.py
@@
-53,6
+53,8
@@
sources = []
for src in glob.glob('src/*.cc'):
if src.endswith('test.cc') or src.endswith('.in.cc'):
continue
+ if src.endswith('bench.cc'):
+ continue
filename = os.path.basename(src)
if filename == 'browse.cc': # Depends on generated header.