[vlc-commits] build.sh: Add VLC_PATH variable to add additional paths
David Fuhrmann
git at videolan.org
Sat Dec 9 10:21:26 CET 2017
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Dec 9 09:57:30 2017 +0100| [f2032bb5fc3ed6cabdffa6c522454a97925446e7] | committer: Konstantin Pavlov
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.
(cherry picked from commit f98e502fe6d15815aebec8433081425e2329baac)
Signed-off-by: Konstantin Pavlov <thresh at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f2032bb5fc3ed6cabdffa6c522454a97925446e7
---
extras/package/macosx/build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index a45a0bc147..74814d3ffd 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -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
More information about the vlc-commits
mailing list