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

Commit

Permalink
python: Remove outdated fix
Browse files Browse the repository at this point in the history
Since 2.7.5 the `python-config --ldflags` is not fixed but Python does
not use the Makefile any longer for this. We fix this now in our
`sitecustomize.py`.
  • Loading branch information
samueljohn committed Aug 8, 2013
1 parent 31d41e1 commit 59ebdf6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Library/Formula/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,6 @@ def install
_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)
Expand Down

0 comments on commit 59ebdf6

Please sign in to comment.