[wing/wip/nacho/poll] try to fix build
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing/wip/nacho/poll] try to fix build
- Date: Tue, 4 Dec 2018 10:17:08 +0000 (UTC)
commit 05cb93fd3cd7c9e8974e0af2103df76c2331722c
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Tue Dec 4 11:16:50 2018 +0100
try to fix build
tests/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index a01c41e..9079a7e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -3,9 +3,11 @@ unit_tests = [
'poll',
]
+winsock2_dep = cc.find_library('ws2_32')
+
foreach unit: unit_tests
exe = executable(unit, unit + '.c',
- dependencies: wing_dep,
+ dependencies: [ wing_dep, winsock2_dep ],
include_directories: wing_inc)
test(unit, exe, args: [ '--tap', '-k' ])
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]