Revert "python: Remove outdated fix"
This reverts commit 59ebdf67cfa5cd8fcc6661e180e3bab2ab2ed6fb.
This commit is contained in:
parent
525babe543
commit
7ec4aee761
1 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,13 @@ class Python < Formula
|
|||
_sre.MAXREPEAT = 65535 # this monkey-patches all other places of "from _sre import MAXREPEAT"'
|
||||
EOS
|
||||
|
||||
# Fixes setting Python build flags for certain software
|
||||
# See: https://github.com/mxcl/homebrew/pull/20182
|
||||
# http://bugs.python.org/issue3588
|
||||
inreplace "#{prefix}/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Makefile" do |s|
|
||||
s.change_make_var! "LINKFORSHARED",
|
||||
"-u _PyMac_Error $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)"
|
||||
end
|
||||
end
|
||||
|
||||
def distutils_fix_superenv(args)
|
||||
|
|
Loading…
Reference in a new issue