From bbc111010163fab044a4782b771fdd6dfa289c66 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Wed, 14 Sep 2011 12:08:02 -0700 Subject: [PATCH] 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. --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.7.4