diff options
Diffstat (limited to 'Library/Formula/python.rb')
| -rw-r--r-- | Library/Formula/python.rb | 3 | 
1 files changed, 1 insertions, 2 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" | 
