File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class PythonAT37 < Formula
44 url "https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tar.xz"
55 sha256 "91923007b05005b5f9bd46f3b9172248aea5abc1543e8a636d59e629c3331b01"
66 license "Python-2.0"
7- revision 2
7+ revision 3
88
99 livecheck do
1010 url "https://www.python.org/ftp/python/"
@@ -111,12 +111,12 @@ def install
111111 if MacOS . sdk_path_if_needed
112112 # Help Python's build system (setuptools/pip) to build things on SDK-based systems
113113 # The setup.py looks at "-isysroot" to get the sysroot (and not at --sysroot)
114- cflags << "-isysroot #{ MacOS . sdk_path } " << "-I #{ MacOS . sdk_path } /usr/include"
114+ cflags << "-isysroot #{ MacOS . sdk_path } "
115115 ldflags << "-isysroot #{ MacOS . sdk_path } "
116116 # For the Xlib.h, Python needs this header dir with the system Tk
117117 # Yep, this needs the absolute path where zlib needed a path relative
118118 # to the SDK.
119- cflags << "-I #{ MacOS . sdk_path } /System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
119+ cflags << "-isystem #{ MacOS . sdk_path } /System/Library/Frameworks/Tk.framework/Versions/8.5/Headers"
120120 end
121121 # Avoid linking to libgcc https://mail.python.org/pipermail/python-dev/2012-February/116205.html
122122 args << "MACOSX_DEPLOYMENT_TARGET=#{ MacOS . version } "
You can’t perform that action at this time.
0 commit comments