[vlc-commits] package/win32: build.sh: set VLC_TOOLS to the path we built them
Steve Lhomme
git at videolan.org
Mon Mar 2 15:49:28 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 2 09:17:22 2020 +0100| [4166b6483c9975b3181eae475b44d28482c94446] | committer: Steve Lhomme
package/win32: build.sh: set VLC_TOOLS to the path we built them
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4166b6483c9975b3181eae475b44d28482c94446
---
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 6d782adf0d..f12f412668 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-commits
mailing list