[vlc-commits] package/win32: build.sh: set the path with tools before building tools
Steve Lhomme
git at videolan.org
Thu Jun 18 14:54:17 CEST 2020
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 14:50:52 2019 +0200| [269076c7ea7baa8167b010ca479f0035192f800b] | 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.
(cherry picked from commit 067c51f0c1c0551aea99084acf0b054da8ff586d)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=269076c7ea7baa8167b010ca479f0035192f800b
---
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 27ab7dd41d..c475bd360b 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