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 .
ROOT_DIR=`pwd`
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"
mkdir -p libvlc
......@@ -272,7 +275,6 @@ buildLibVLC() {
SDK_VERSION="$7"
PLATFORM="$8"
OSSTYLE=iPhone
VLCROOT=${ROOT_DIR}/libvlc/vlc
if [ "$DEBUG" = "yes" ]; then
OPTIM="-O0 -g"
......@@ -301,7 +303,6 @@ buildLibVLC() {
TARGET="${ARCH}-apple-darwin14"
# clean the environment
export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export CFLAGS=""
export CPPFLAGS=""
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