From 01de24d9800404a534a7f29dc63ae506b738dcb8 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 1 Jan 2018 12:29:54 -0800 Subject: [PATCH] v8: depend on python instead of :python --- Formula/v8.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/v8.rb b/Formula/v8.rb index 2d8ce3f6eb..1224372c8e 100644 --- a/Formula/v8.rb +++ b/Formula/v8.rb @@ -21,7 +21,9 @@ class V8 < Formula # https://github.com/Homebrew/homebrew/issues/21426 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 needs :cxx11