[libgda: 2/5] use windows socket on windows



commit 23a7a04e46b0e5185cb55ec15e56bd43ddb2082a
Author: Shem Pasamba <shemgp yahoo com>
Date:   Sun Oct 27 20:55:32 2019 +0800

    use windows socket on windows

 meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index af25219a8..b09fd2217 100644
--- a/meson.build
+++ b/meson.build
@@ -75,9 +75,11 @@ endif
 endif
 
 # Platform data
+socket_dep = []
 windows = build_machine.system().contains('windows')
 if windows
 win = import('windows')
+socket_dep = meson.get_compiler('c').find_library('ws2_32')
 endif
 
 lbdb_found = false
@@ -132,7 +134,8 @@ libgda_external_dep = [
        gobject_dep,
        gio_dep,
        libxml_dep,
-       inc_rooth_dep
+       inc_rooth_dep,
+        socket_dep
        ]
 libgda_dep = [
        gmodule_no_export_dep,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]