Commit 48a31f50 authored by David Fuhrmann's avatar David Fuhrmann

macOS build.sh: Simplify detection of default SDKROOT

parent ad00299b
......@@ -14,8 +14,8 @@ source "$SCRIPTDIR/env.build.sh" "none"
ARCH="x86_64"
MINIMAL_OSX_VERSION="10.10"
OSX_VERSION=`xcrun --show-sdk-version`
SDKROOT=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk
OSX_VERSION=$(xcrun --show-sdk-version)
SDKROOT=$(xcrun --show-sdk-path)
VLCBUILDDIR=""
CORE_COUNT=`getconf NPROCESSORS_ONLN 2>&1`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment