Commit f98e502f authored by David Fuhrmann's avatar David Fuhrmann

build.sh: Add VLC_PATH variable to add additional paths

This shall be used only if you are sure what is inside those extra
paths. Please pay careful attention.
This variable shall not be set by the normal user, and the normal
$PATH variable shall not pollute this script, as everything needed
is contained in extras/tools and contribs.
parent 001b765d
......@@ -117,7 +117,7 @@ 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"
export PATH="${vlcroot}/extras/tools/build/bin:${vlcroot}/contrib/${TRIPLET}/bin:${VLC_PATH}:/bin:/sbin:/usr/bin:/usr/sbin"
# Select avcodec flavor to compile contribs with
export USE_FFMPEG=1
......
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