Skip to content

Commit

Permalink
Prevent multiple definition link error
Browse files Browse the repository at this point in the history
Globbed inclusion of `src/hash_collision_bench.cc` cause link errors
  • Loading branch information
jonforums committed Jun 16, 2012
1 parent 4c4e7f0 commit 65f40df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def run(*args, **kwargs):
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.
Expand Down

0 comments on commit 65f40df

Please sign in to comment.