mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
tests: Don't use GIO_COMPILATION
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 <abologna@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
84f2399c9e
commit
641d272573
@ -65,10 +65,6 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
virgdbusmock_dep = declare_dependency(
|
|
||||||
compile_args: [ '-DGIO_COMPILATION' ]
|
|
||||||
)
|
|
||||||
|
|
||||||
# mock_libs:
|
# mock_libs:
|
||||||
# each entry is a dictionary with following items:
|
# each entry is a dictionary with following items:
|
||||||
# * name - mock library name which is also used as default source file name (required)
|
# * name - mock library name which is also used as default source file name (required)
|
||||||
@ -105,7 +101,7 @@ endif
|
|||||||
|
|
||||||
if host_machine.system() != 'windows'
|
if host_machine.system() != 'windows'
|
||||||
mock_libs += [
|
mock_libs += [
|
||||||
{ 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] },
|
{ 'name': 'virgdbusmock' },
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user