[vlc-commits] macosx/build.sh: add env PATH and contrib bin to PATH

Tristan Matthews git at videolan.org
Fri Oct 2 16:56:32 CEST 2015


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Fri Oct  2 09:42:04 2015 -0400| [94aceca65a8cc7611ac08893f8f6979184805048] | committer: Tristan Matthews

macosx/build.sh: add env PATH and contrib bin to PATH

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

 extras/package/macosx/build.sh |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 81524c8..4795ec5 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -85,15 +85,14 @@ builddir=`pwd`
 
 info "Building in \"$builddir\""
 
+TRIPLET=$ARCH-apple-darwin11
+
 export CC="xcrun clang"
 export CXX="xcrun clang++"
 export OBJC="xcrun clang"
 export OSX_VERSION
 export SDKROOT
-export PATH="${vlcroot}/extras/tools/build/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
-
-TRIPLET=$ARCH-apple-darwin11
-
+export PATH="${vlcroot}/extras/tools/build/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:${vlcroot}/contrib/${TRIPLET}/bin:${PATH}"
 
 #
 # vlc/extras/tools



More information about the vlc-commits mailing list