v8: depend on python instead of :python

This commit is contained in:
ilovezfs 2018-01-01 12:29:54 -08:00
parent 565f268a0e
commit 01de24d980

View file

@ -21,7 +21,9 @@ class V8 < Formula
# https://github.com/Homebrew/homebrew/issues/21426 # https://github.com/Homebrew/homebrew/issues/21426
depends_on :macos => :lion depends_on :macos => :lion
depends_on :python => :build # gyp doesn't run under 2.6 or lower # gyp doesn't run under 2.6 or lower
depends_on "python" => :build if MacOS.version <= :snow_leopard
depends_on "readline" => :optional depends_on "readline" => :optional
needs :cxx11 needs :cxx11