diff options
author | Evan Martin <martine@danga.com> | 2011-09-14 19:08:02 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-09-14 19:08:02 (GMT) |
commit | bbc111010163fab044a4782b771fdd6dfa289c66 (patch) | |
tree | e76c40f4070220e7dfbe0b1713a2fb0d7a5fe222 /configure.py | |
parent | f47c158ba6c538e928005a49f05dbd9c23923c15 (diff) | |
download | Ninja-bbc111010163fab044a4782b771fdd6dfa289c66.zip Ninja-bbc111010163fab044a4782b771fdd6dfa289c66.tar.gz Ninja-bbc111010163fab044a4782b771fdd6dfa289c66.tar.bz2 |
delete .a files before adding to them with ar
ar doesn't have a mode to just rebuild the file from scratch, so delete
it manually.
Fixes issue #105.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 846fe35..a9479bf 100755 --- a/configure.py +++ b/configure.py @@ -113,7 +113,7 @@ ar = 'ar' if platform == 'mingw': ar = 'i586-mingw32msvc-ar' n.rule('ar', - command=ar + ' crs $out $in', + command='rm -f $out && %s crs $out $in' % ar, description='AR $out') n.newline() |