[glib/wip/nacho/gpoll] meson: build gpoll test on windows
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/nacho/gpoll] meson: build gpoll test on windows
- Date: Fri, 28 Dec 2018 13:42:22 +0000 (UTC)
commit 97f4ce5a77210756c55e7e1ba139aca6ba1b837d
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Fri Dec 28 13:01:38 2018 +0100
meson: build gpoll test on windows
glib/tests/meson.build | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 157708068..0d5e18694 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -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' : {},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]