[vlc-commits] package/win32: build.sh: set the path with tools before building tools

Steve Lhomme git at videolan.org
Fri Oct 25 10:04:32 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 14:50:52 2019 +0200| [90e633b2ad07315e0d34834707483f9c5f3ba988] | committer: Steve Lhomme

package/win32: build.sh: set the path with tools before building tools

So consecutive calls to build.sh won't rebuild tools each time because they
were not found in the PATH yet.

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

 extras/package/win32/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 7134e0edd5..6bfba56f5c 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -105,6 +105,7 @@ fi
 info "Building extra tools"
 cd extras/tools
 
+export PATH="$PWD/build/bin":"$PATH"
 # Force libtool build when compiling with clang
 if [ "$COMPILING_WITH_CLANG" -gt 0 ] && [ ! -d "libtool" ]; then
     FORCED_TOOLS="libtool"
@@ -114,7 +115,6 @@ if [ "$INTERACTIVE" != "yes" ] || [ ! -f ./Makefile ]; then
     NEEDED="$FORCED_TOOLS" ./bootstrap
 fi
 make -j$JOBS
-export PATH="$PWD/build/bin":"$PATH"
 cd ../../
 
 export USE_FFMPEG=1



More information about the vlc-commits mailing list