From 641d2725735bc0fc1c06ca7ff61e312fe4889881 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 30 Mar 2023 16:08:05 +0200 Subject: [PATCH] tests: Don't use GIO_COMPILATION MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This flag is intended to be used exclusively in the context of building GLib itself and should not be passed to the compiler by a third-party project such as libvirt. Reverts: 77d1fa5 ("tests: Compile virgdbusmock.c with GIO_COMPILATION enabled") Signed-off-by: Andrea Bolognani Reviewed-by: Jonathon Jongsma Reviewed-by: Ján Tomko --- tests/meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index c26c2719ac..24d08e4f97 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -65,10 +65,6 @@ else endif -virgdbusmock_dep = declare_dependency( - compile_args: [ '-DGIO_COMPILATION' ] -) - # mock_libs: # each entry is a dictionary with following items: # * name - mock library name which is also used as default source file name (required) @@ -105,7 +101,7 @@ endif if host_machine.system() != 'windows' mock_libs += [ - { 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] }, + { 'name': 'virgdbusmock' }, ] endif -- 2.47.2