From 8eb8a24950b47f276edf8e2f1f82e0cd9cf940c8 Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Thu, 7 Mar 2019 11:07:22 -0800 Subject: [PATCH] Force lldb plugin/SOS to build with macOS 10.12 SDK So they work on the supported versions of macOS. --- eng/build-native.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/build-native.sh b/eng/build-native.sh index cd25544e7..0ece72f29 100755 --- a/eng/build-native.sh +++ b/eng/build-native.sh @@ -420,6 +420,8 @@ if [ "$__HostOS" == "OSX" ]; then export LLDB_LIB=/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/LLDB export LLDB_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/lldb + export MACOSX_DEPLOYMENT_TARGET=10.12 + # If Xcode 9.2 exists (like on the CI/build machines), use that. Xcode 9.3 or # greater (swift 4.1 lldb) doesn't work that well (seg faults on exit). if [ -f "/Applications/Xcode_9.2.app/Contents/Developer/usr/bin/lldb" ]; then -- 2.34.1