aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/botan.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/botan.rb b/Library/Formula/botan.rb
index e1ec7af9c..29cf1d62a 100644
--- a/Library/Formula/botan.rb
+++ b/Library/Formula/botan.rb
@@ -6,7 +6,10 @@ class Botan < Formula
md5 '7ae93e205491a8e75115bfca983ff7f9'
def install
- system "./configure.py", "--prefix=#{prefix}"
+ args = ["--prefix=#{prefix}"]
+ args << "--cpu=x86_64" if MacOS.prefer_64_bit?
+
+ system "./configure.py", *args
system "make install"
end
end