fix(big-sur): added support for building on Big Sur

Curtsy of https://apple.stackexchange.com/questions/408999/gfortran-compiler-error-on-mac-os-big-sur
This commit is contained in:
claford-v-lawrence
2020-12-21 09:00:44 +08:00
committed by Jim Myhrberg
parent 4a7c507858
commit 2247158051

View File

@@ -298,6 +298,11 @@ class Build
"#{brew_dir}/opt/texinfo/bin",
ENV['PATH']
].compact.join(':')
ENV['LIBRARY_PATH'] = [
ENV['LIBRARY_PATH'],
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
].compact.join(':')
configure_flags = [
'--with-ns',