[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 12:10:27 +0000 (UTC)
commit 6404caa3c4c3b042cefba382822f1da991b2845d
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]