pypy3: fix build on 10.12 with Xcode 9
Closes #19048. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
bbd90cc65c
commit
0fd4642949
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ class Pypy3 < Formula
|
|||
fails_with :gcc
|
||||
|
||||
def install
|
||||
# Work around "dyld: Symbol not found: _utimensat"
|
||||
if MacOS.version == :sierra && MacOS::Xcode.installed? && MacOS::Xcode.version >= "9.0"
|
||||
ENV.delete("SDKROOT")
|
||||
end
|
||||
|
||||
# Having PYTHONPATH set can cause the build to fail if another
|
||||
# Python is present, e.g. a Homebrew-provided Python 2.x
|
||||
# See https://github.com/Homebrew/homebrew/issues/24364
|
||||
|
|
Loading…
Reference in a new issue