[vlc-commits] package/win32: build.sh: force building the local meson

Steve Lhomme git at videolan.org
Tue Jan 28 13:14:36 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 28 09:58:00 2020 +0100| [ed2886d85e70334be8677d00f5417afefd7119f8] | committer: Steve Lhomme

package/win32: build.sh: force building the local meson

Versions above 0.51.1 don't add the -lpthread properly in libplacebo.pc.

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

 extras/package/win32/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 9607fcfe05..f46fbe832b 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -111,9 +111,11 @@ mkdir -p extras/tools
 cd extras/tools
 
 export PATH="$PWD/build/bin":"$PATH"
+# Force meson 0.51.1 as newer versions don't add -lpthread properly in libplacebo.pc
+FORCED_TOOLS="meson"
 # Force libtool build when compiling with clang
 if [ "$COMPILING_WITH_CLANG" -gt 0 ] && [ ! -d "libtool" ]; then
-    FORCED_TOOLS="libtool"
+    FORCED_TOOLS="$FORCED_TOOLS libtool"
 fi
 # bootstrap only if needed in interactive mode
 if [ "$INTERACTIVE" != "yes" ] || [ ! -f ./Makefile ]; then



More information about the vlc-commits mailing list