diff --git a/.evergreen/compile-artifact.sh b/.evergreen/compile-artifact.sh index eaac9d5a9..683b683ff 100755 --- a/.evergreen/compile-artifact.sh +++ b/.evergreen/compile-artifact.sh @@ -26,6 +26,7 @@ if [ `uname` = Darwin ]; then # match what Node.js 20 does on their own builder machines export CFLAGS='-mmacosx-version-min=10.15' export CXXFLAGS='-mmacosx-version-min=10.15' + export MACOSX_DEPLOYMENT_TARGET=10.15 fi # The CI machines we have for Windows and x64 macOS are not