[vlc-commits] macosx: env.build.sh: explicitly request macOS SDK

Marvin Scholz git at videolan.org
Mon Jan 11 15:34:21 UTC 2021


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jan 11 16:32:46 2021 +0100| [83422fba186db36319499e218a484c3cc47f7918] | committer: Marvin Scholz

macosx: env.build.sh: explicitly request macOS SDK

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83422fba186db36319499e218a484c3cc47f7918
---

 extras/package/macosx/env.build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/env.build.sh b/extras/package/macosx/env.build.sh
index 6bd0b4eca2..ef1316465a 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"



More information about the vlc-commits mailing list