aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2009-10-21 11:24:28 -0700
committerAdam Vandenberg2009-10-21 11:30:54 -0700
commit5c6cc6499797facb8a798db7f99e23d1f8280d74 (patch)
treed45d8f6a757f5bdb1481f13b30237f2cce3a1799
parent585bc3ac6af99efb041c78dc43fbf2776f137608 (diff)
downloadhomebrew-5c6cc6499797facb8a798db7f99e23d1f8280d74.tar.bz2
Speed up Python linking.
-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