[vlc-commits] build.sh: Add VLC_PATH variable to add additional paths

David Fuhrmann git at videolan.org
Sat Dec 9 09:59:47 CET 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Dec  9 09:57:30 2017 +0100| [f98e502fe6d15815aebec8433081425e2329baac] | committer: 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.

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

 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 bb8a544af1..4841834b85 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