aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
authorJon <jon.forums@gmail.com>2012-06-16 11:52:58 -0400
committerJon <jon.forums@gmail.com>2012-06-16 11:52:58 -0400
commit65f40df6f4d76c87a48afc4af8684ea4d0d26d1f (patch)
treeb46631c08f160fa528acfec1bca506e228905259 /bootstrap.py
parent4c4e7f0782bcffb11eb4d41a0944a45a1abc31f0 (diff)
downloadninja-65f40df6f4d76c87a48afc4af8684ea4d0d26d1f.tar.gz
Prevent multiple definition link error
Globbed inclusion of `src/hash_collision_bench.cc` cause link errors
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-xbootstrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 3aac647..9ac46ba 100755
--- 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.