aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 5cd33672f..f70bbd074 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -177,8 +177,7 @@ class Python3 < Formula
# The setup.py looks at "-isysroot" to get the sysroot (and not at --sysroot)
cflags += " -isysroot #{MacOS.sdk_path}"
ldflags += " -isysroot #{MacOS.sdk_path}"
- # Same zlib.h-not-found-bug as in env :std (see below)
- args << "CPPFLAGS=-I#{MacOS.sdk_path}/usr/include"
+ args << "CPPFLAGS=-I#{MacOS.sdk_path}/usr/include" # find zlib
if build.without? 'brewed-tk'
cflags += " -I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
end