diff options
| -rw-r--r-- | Library/Formula/python.rb | 3 | ||||
| -rw-r--r-- | Library/Formula/python3.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index ce7e3760f..7975bbd9c 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -219,8 +219,7 @@ class Python < 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 # For the Xlib.h, Python needs this header dir with the system Tk if build.without? "brewed-tk" cflags += " -I#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers" 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 |
