From 3ea56a2fde753f4d1b52b39c12448431207c5e1f Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Fri, 14 Jun 2024 10:07:27 +0800 Subject: [PATCH] fix: SDKROOT issue on macOS --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 82a63352..ed4e7af2 100755 --- a/build.sh +++ b/build.sh @@ -16,6 +16,7 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then RESULT=$PHYS_DIR/$TARGET_FILE PIPY_DIR=$(dirname $RESULT) OS_NAME=macos + export SDKROOT=$(xcrun --show-sdk-path) fi # Number of processors to build.