[vlc-devel] [PATCH] package/win32: build.sh: set VLC_TOOLS to the path we built them

Steve Lhomme robux4 at ycbcr.xyz
Mon Mar 2 09:23:38 CET 2020

By default it will be $(TOPSRC)/../extras/tools/build which is not correct when
building out of tree for Windows. Because when building for Windows there's a
possibility the same source tree is built from within msys2 or WSL. They can't
share the tools.
 extras/package/win32/build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 6d782adf0dc..f12f4126683 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -109,6 +109,7 @@ fi
 info "Building extra tools"
 mkdir -p extras/tools
 cd extras/tools
+export VLC_TOOLS="$PWD/build"
 export PATH="$PWD/build/bin":"$PATH"
 # Force patched meson as newer versions don't add -lpthread properly in libplacebo.pc

More information about the vlc-devel mailing list