[vlc-devel] [PATCH 3.0.x] macosx/build: fix compile on macOS 10.15.6
Zhao Zhili
quinkblack at foxmail.com
Tue Nov 10 16:30:00 CET 2020
---
extras/package/macosx/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 4508354a9f..be5d449662 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -10,7 +10,7 @@ info()
ARCH="x86_64"
MINIMAL_OSX_VERSION="10.7"
-OSX_VERSION=`xcrun --show-sdk-version`
+OSX_VERSION=`xcrun --show-sdk-version |cut -d. -f1-2`
OSX_KERNELVERSION=`uname -r | cut -d. -f1`
SDKROOT=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk
VLCBUILDDIR=""
--
2.28.0
More information about the vlc-devel
mailing list