Build fails on windows with meson b_vscrt parameter set to none
My meson command is:
meson build --buildtype=release -Db_vscrt=none
I am trying to build a release version without dependencies on visual studio runtime.
Here is the error:
[3/4850] Linking target subprojects/glib/gio/tests/modules/testmodulea.dll.
Creating library subprojects\\glib\\gio\\tests\\modules\\testmodulea.lib and object subprojects\\glib\\gio\\tests\\modules\\testmodulea.exp
[6/4850] Linking target subprojects/glib/gio/tests/modules/testmoduleb.dll.
Creating library subprojects\\glib\\gio\\tests\\modules\\testmoduleb.lib and object subprojects\\glib\\gio\\tests\\modules\\testmoduleb.exp
[16/4850] Linking target subprojects/gstreamer/gst/gstreamer-1.0-0.dll.
Creating library subprojects\\gstreamer\\gst\\gstreamer-1.0.lib and object subprojects\\gstreamer\\gst\\gstreamer-1.0.exp
[24/4850] Generating digit_test_resources.c with a meson_exe.py custom command.
FAILED: subprojects/glib/gio/tests/digit_test_resources.c
"C:/Users/Collabora/AppData/Local/Programs/Python/Python37/Scripts/meson" "--internal" "exe" "C:/Users/Collabora/src/gst-build-x86-rel/build/meson-private/meson_exe_glib-compile-resources_f393e462141fbb172cb2e722eaabe2e7a2b03800.dat"
[25/4850] Generating test_resources.c with a meson_exe.py custom command.
FAILED: subprojects/glib/gio/tests/test_resources.c
"C:/Users/Collabora/AppData/Local/Programs/Python/Python37/Scripts/meson" "--internal" "exe" "C:/Users/Collabora/src/gst-build-x86-rel/build/meson-private/meson_exe_glib-compile-resources_c562e05c312dbd68c768a832057eb1032d1110aa.dat"
[26/4850] Generating plugin-resources.c with a meson_exe.py custom command.
FAILED: subprojects/glib/gio/tests/plugin-resources.c
"C:/Users/Collabora/AppData/Local/Programs/Python/Python37/Scripts/meson" "--internal" "exe" "C:/Users/Collabora/src/gst-build-x86-rel/build/meson-private/meson_exe_glib-compile-resources_e38578f1f5b0102646b4ac11767d19a706f601cf.dat"
[28/4850] Generating test_resources2.c with a meson_exe.py custom command.
FAILED: subprojects/glib/gio/tests/test_resources2.c
"C:/Users/Collabora/AppData/Local/Programs/Python/Python37/Scripts/meson" "--internal" "exe" "C:/Users/Collabora/src/gst-build-x86-rel/build/meson-private/meson_exe_glib-compile-resources_9e68ba67681b1dc654a7a99e9fa36a64ceafcb4a.dat"
[31/4850] Compiling C object subprojects/gstreamer/libs/gst/base/17954cb@@gstbase-1.0@sha/gstbytewriter.c.obj.
ninja: build stopped: subcommand failed.