[vlc-commits] mac: update build.sh

David Fuhrmann git at videolan.org
Sat Nov 29 12:30:16 CET 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Nov 29 12:29:06 2014 +0100| [054453dd1558f8385acb9ff57725d6f7f0db4362] | committer: David Fuhrmann

mac: update build.sh

Auto-detect current osx version, overwrite path to avoid influences
from macports or homebrew.

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

 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 abac1e5..e6d810f 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -11,7 +11,7 @@ info()
 
 ARCH="x86_64"
 MINIMAL_OSX_VERSION="10.6"
-OSX_VERSION="10.8"
+OSX_VERSION=`xcrun --show-sdk-version`
 SDKROOT=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk
 
 usage()
@@ -90,7 +90,7 @@ export CXX="xcrun clang++"
 export OBJC="xcrun clang"
 export OSX_VERSION
 export SDKROOT
-export PATH="${vlcroot}/extras/tools/build/bin:$PATH"
+export PATH="${vlcroot}/extras/tools/build/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
 
 TRIPLET=$ARCH-apple-darwin10
 



More information about the vlc-commits mailing list