python3: use real pre-existing python
This commit is contained in:
parent
63966eb20a
commit
ac66100e55
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ class Python3 < Formula
|
|||
ENV['PYTHONHOME'] = nil
|
||||
ENV['PYTHONPATH'] = nil
|
||||
|
||||
# Otherwise the formula may attempt to use the python3 shim
|
||||
# even though python3 isn't installed yet
|
||||
ENV['PYTHON'] = 'python'
|
||||
|
||||
args = %W[
|
||||
--prefix=#{prefix}
|
||||
--enable-ipv6
|
||||
|
|
Loading…
Reference in a new issue