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:
f47c158
)
delete .a files before adding to them with ar
author
Evan Martin
<martine@danga.com>
Wed, 14 Sep 2011 19:08:02 +0000
(12:08 -0700)
committer
Evan Martin
<martine@danga.com>
Wed, 14 Sep 2011 19:08:02 +0000
(12:08 -0700)
ar doesn't have a mode to just rebuild the file from scratch, so delete
it manually.
Fixes issue #105.
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
846fe35
..
a9479bf
100755
(executable)
--- 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()