aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/boost.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb
index 7f9b0eaa3..ad80fe8e2 100644
--- a/Library/Formula/boost.rb
+++ b/Library/Formula/boost.rb
@@ -115,6 +115,8 @@ class Boost < Formula
# on such systems.
bargs << "--without-libraries=log" if MacOS.version <= :snow_leopard
+ bargs << "--without-libraries=python" if build.without? 'python'
+
args = ["--prefix=#{prefix}",
"--libdir=#{lib}",
"-d2",
@@ -145,7 +147,6 @@ class Boost < Formula
end
args << "address-model=32_64" << "architecture=x86" << "pch=off" if build.universal?
- args << "--without-python" if build.without? 'python'
system "./bootstrap.sh", *bargs
system "./b2", *args