aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/python.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 5d00ae252..b28da4aea 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -31,6 +31,10 @@ class Python <Formula
args << "--with-universal-archs=intel --enable-universalsdk=/"
end
+ # Speed up creation of libpython.a, backported from Unladen Swallow:
+ # http://code.google.com/p/unladen-swallow/source/detail?r=856
+ inreplace "Makefile.pre.in", "$(AR) cr", "$(AR) cqS"
+
system "./configure", *args