Commit 0f04f841 authored by Thomas Guillem's avatar Thomas Guillem

MVK: export PATH earlier

This fixes build issue depending of the state of your /usr/local/bin
parent 900280a1
...@@ -211,6 +211,9 @@ spushd . ...@@ -211,6 +211,9 @@ spushd .
ROOT_DIR=`pwd` ROOT_DIR=`pwd`
spopd spopd
VLCROOT=${ROOT_DIR}/libvlc/vlc
export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
info "Preparing build dirs" info "Preparing build dirs"
mkdir -p libvlc mkdir -p libvlc
...@@ -272,7 +275,6 @@ buildLibVLC() { ...@@ -272,7 +275,6 @@ buildLibVLC() {
SDK_VERSION="$7" SDK_VERSION="$7"
PLATFORM="$8" PLATFORM="$8"
OSSTYLE=iPhone OSSTYLE=iPhone
VLCROOT=${ROOT_DIR}/libvlc/vlc
if [ "$DEBUG" = "yes" ]; then if [ "$DEBUG" = "yes" ]; then
OPTIM="-O0 -g" OPTIM="-O0 -g"
...@@ -301,7 +303,6 @@ buildLibVLC() { ...@@ -301,7 +303,6 @@ buildLibVLC() {
TARGET="${ARCH}-apple-darwin14" TARGET="${ARCH}-apple-darwin14"
# clean the environment # clean the environment
export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export CFLAGS="" export CFLAGS=""
export CPPFLAGS="" export CPPFLAGS=""
export CXXFLAGS="" export CXXFLAGS=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment