osc: fix build on Mojave

Closes #33244.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2018-10-21 15:37:33 +02:00
parent f2e0ba245e
commit efd678e6e2

View file

@ -42,6 +42,8 @@ class Osc < Formula
# avoid pycurl error about compile-time and link-time curl version mismatch
ENV.delete "SDKROOT"
ENV["SWIG_FEATURES"]="-I#{Formula["openssl"].opt_include}"
venv = virtualenv_create(libexec)
venv.pip_install resources.reject { |r| r.name == "M2Crypto" || r.name == "pycurl" }