mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
meson: build gpoll test on windows
This commit is contained in:
parent
a9ea169b64
commit
97f4ce5a77
@ -131,7 +131,15 @@ if glib_conf.has('HAVE_EVENTFD')
|
||||
}
|
||||
endif
|
||||
|
||||
if host_machine.system() != 'windows'
|
||||
if host_machine.system() == 'windows'
|
||||
if winsock2.found()
|
||||
glib_tests += {
|
||||
'gpoll' : {
|
||||
'dependencies' : [winsock2],
|
||||
},
|
||||
}
|
||||
endif
|
||||
else
|
||||
glib_tests += {
|
||||
'include' : {},
|
||||
'unix' : {},
|
||||
|
Loading…
Reference in New Issue
Block a user