Jelajahi Sumber

buildMobileVLCKit.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.

Similar to f98e502fe6d15815aebec8433081425e2329baac in vlc.git.

Signed-off-by: Carola Nitz <nitz.carola@googlemail.com>
Konstantin Pavlov 7 tahun lalu
induk
melakukan
eae1d8e005
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      buildMobileVLCKit.sh

+ 1 - 1
buildMobileVLCKit.sh

@@ -231,7 +231,7 @@ 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"
+export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:${VLC_PATH}:/usr/bin:/bin:/usr/sbin:/sbin"
 
 info "Preparing build dirs"