diff --git a/extras/package/macosx/env.build.sh b/extras/package/macosx/env.build.sh index 6bd0b4eca209b748488575cfddf49f02b5057fe3..ef1316465ac9ba7966e4826a03ef98ed372a9e70 100755 --- a/extras/package/macosx/env.build.sh +++ b/extras/package/macosx/env.build.sh @@ -116,7 +116,7 @@ vlcSetContribEnvironment() { local MINIMAL_OSX_VERSION="$1" if [ -z "$SDKROOT" ]; then - export SDKROOT="$(xcrun --show-sdk-path)" + export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)" fi echo "Setting contrib environment with minimum macOS version $MINIMAL_OSX_VERSION and SDK $SDKROOT"