vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Wed May 30 23:25:48 2018 +0200| [258aeb918a484022bbd21173359b2c28224819be] | committer: David Fuhrmann
macOS build.sh: Simplify detection of default SDKROOT This fixes the build on macOS Catalina. (cherry picked from commit 48a31f50641027dd5c9c341b0de084630a7023c8) Signed-off-by: David Fuhrmann <dfuhrm...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=258aeb918a484022bbd21173359b2c28224819be --- extras/package/macosx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh index 4508354a9f..88d57aa4a2 100755 --- a/extras/package/macosx/build.sh +++ b/extras/package/macosx/build.sh @@ -10,9 +10,9 @@ info() ARCH="x86_64" MINIMAL_OSX_VERSION="10.7" -OSX_VERSION=`xcrun --show-sdk-version` +OSX_VERSION=$(xcrun --show-sdk-version) OSX_KERNELVERSION=`uname -r | cut -d. -f1` -SDKROOT=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk +SDKROOT=$(xcrun --show-sdk-path) VLCBUILDDIR="" CORE_COUNT=`getconf NPROCESSORS_ONLN 2>&1` _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits