eventql: fix build in Xcode 10 and later

Closes #46834.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Bo Anderson 2019-11-17 07:24:21 +00:00 committed by FX Coudert
parent ba4bb6511a
commit 070457b7fe

View file

@ -21,6 +21,9 @@ class Eventql < Formula
end
def install
# SpiderMonkey sets the deployment target to 10.6, kicking in libstdc++ mode
# which no longer has headers as of Xcode 10.
ENV["_MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
# the internal libzookeeper fails to build if we don't deparallelize
# https://github.com/eventql/eventql/issues/180
ENV.deparallelize