File glib-2.75.2-default_library-both.patch of Package mingw64-glib2
diff -ur glib-2.75.2.orig/meson.build glib-2.75.2/meson.build
--- glib-2.75.2.orig/meson.build 2023-01-06 13:49:52.000000000 +0100
+++ glib-2.75.2/meson.build 2023-02-12 23:41:05.496887666 +0100
@@ -267,7 +267,7 @@
glib_build_shared_only = glib_build_shared and not glib_build_static
if glib_build_shared and glib_build_static and (
- host_system == 'windows' or host_system == 'cygwin')
+ host_system == 'cygwin')
error('On Windows default_library must be "shared" or "static" but not "both"')
endif