[vlc-commits] macOS build.sh: Resolve full path to compilers
David Fuhrmann
git at videolan.org
Mon Jul 17 19:25:16 CEST 2017
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul 9 19:10:43 2017 +0200| [c6e11a8159662c8fa79becfaadaf483e661ac847] | committer: David Fuhrmann
macOS build.sh: Resolve full path to compilers
Some contribs cannot be compiled by using "xcrun clang" as compiler
variable.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6e11a8159662c8fa79becfaadaf483e661ac847
---
extras/package/macosx/build.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 6dea85a9ce..10d63697d9 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -95,9 +95,9 @@ info "Building in \"$builddir\""
TRIPLET=$ARCH-apple-darwin15
-export CC="xcrun clang"
-export CXX="xcrun clang++"
-export OBJC="xcrun clang"
+export CC="`xcrun --find clang`"
+export CXX="`xcrun --find clang++`"
+export OBJC="`xcrun --find clang`"
export OSX_VERSION
export SDKROOT
export PATH="${vlcroot}/extras/tools/build/bin:${vlcroot}/contrib/${TRIPLET}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:${PATH}"
More information about the vlc-commits
mailing list