Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
python: recognize .tbd stubs
Browse files Browse the repository at this point in the history
Fixes #41085.
  • Loading branch information
tdsmith committed Sep 22, 2015
1 parent 917c74e commit 3f76265
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Library/Formula/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ class Python < Formula
# a plain unix build. Remove `-lX11`, too because our Tk is "AquaTk".
patch :DATA if build.with? "tcl-tk"

# Fix extension module builds against Xcode 7 SDKs
# https://github.com/Homebrew/homebrew/issues/41085
# https://bugs.python.org/issue25136
patch do
url "https://bugs.python.org/file40479/xcode-stubs-2.7.patch"
sha256 "86714b750c887065952cd556f4d23246edf3124384f579356c8e377bc6ff2f83"
end

def lib_cellar
prefix/"Frameworks/Python.framework/Versions/2.7/lib/python2.7"
end
Expand Down

0 comments on commit 3f76265

Please sign in to comment.