[glib/wip/nacho/gpoll: 10/10] 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: 10/10] meson: build gpoll test on windows
- Date: Fri, 28 Dec 2018 12:29:23 +0000 (UTC)
commit 941e4335c4bb5b106131d953db689a4785b3b0b0
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 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 157708068..e4bad346f 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -131,7 +131,13 @@ if glib_conf.has('HAVE_EVENTFD')
}
endif
-if host_machine.system() != 'windows'
+if host_machine.system() == 'windows'
+ glib_tests += {
+ 'gpoll' : {
+ 'dependencies' : [winsock2],
+ },
+ }
+else
glib_tests += {
'include' : {},
'unix' : {},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]