[vlc-devel] [PATCH 3/3] package/win32: build.sh: disable getpid in Winstore builds
Steve Lhomme
robux4 at ycbcr.xyz
Thu Apr 30 12:15:05 CEST 2020
It's part of the ucrt in mingw64 but it's not allowed.
We have simple compat replacement.
---
extras/package/win32/build.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 63429300488..74685b7bad1 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -213,6 +213,9 @@ if [ ! -z "$BUILD_UCRT" ]; then
CONTRIBFLAGS="$CONTRIBFLAGS --disable-modplug"
# x265 uses too many forbidden APIs
CONTRIBFLAGS="$CONTRIBFLAGS --disable-x265"
+
+ # link works with ucrt but it's not allowed in UWP
+ export ac_cv_func_getpid=no
fi
else
CONTRIB_PREFIX="$CONTRIB_PREFIX$BUILD_UCRT"
--
2.17.1
More information about the vlc-devel
mailing list