curl: fix for macOS Lion (#31816)

This commit is contained in:
lemzwerg 2018-09-11 12:01:31 +02:00 committed by FX Coudert
parent fa7405d821
commit 9c3cc349f7

View file

@ -53,6 +53,9 @@ class Curl < Formula
def install
system "./buildconf" if build.head?
# Allow to build on Lion, lowering from the upstream setting of 10.8
ENV.append_to_cflags "-mmacosx-version-min=10.7" if MacOS.version <= :lion
args = %W[
--disable-debug
--disable-dependency-tracking