Files
MINGW-packages/mingw-w64-glib2/0001-disable-some-tests-when-static.patch
2018-12-19 07:40:23 +03:00

15 lines
604 B
Diff

diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index dca33bd44..47a95b7b3 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -406,7 +406,8 @@ if installed_tests_enabled
install_subdir('cert-tests', install_dir : installed_tests_execdir)
endif
-if not meson.is_cross_build() or meson.has_exe_wrapper()
+windows_static = host_system == 'windows' and get_option('default_library') == 'static'
+if (not meson.is_cross_build() or meson.has_exe_wrapper()) and not windows_static
plugin_resources_c = custom_target('plugin-resources.c',
input : 'test4.gresource.xml',