diff options
author | Jon <jon.forums@gmail.com> | 2012-06-16 15:52:58 (GMT) |
---|---|---|
committer | Jon <jon.forums@gmail.com> | 2012-06-16 15:52:58 (GMT) |
commit | 65f40df6f4d76c87a48afc4af8684ea4d0d26d1f (patch) | |
tree | b46631c08f160fa528acfec1bca506e228905259 /bootstrap.py | |
parent | 4c4e7f0782bcffb11eb4d41a0944a45a1abc31f0 (diff) | |
download | Ninja-65f40df6f4d76c87a48afc4af8684ea4d0d26d1f.zip Ninja-65f40df6f4d76c87a48afc4af8684ea4d0d26d1f.tar.gz Ninja-65f40df6f4d76c87a48afc4af8684ea4d0d26d1f.tar.bz2 |
Prevent multiple definition link error
Globbed inclusion of `src/hash_collision_bench.cc` cause link errors
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-x | bootstrap.py | 2 |
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. |