[gupnp] build: Add missing windows libs



commit 4628a71b78453d3951b848c4ec8e4ff3fa37ec22
Author: Jens Georg <mail jensge org>
Date:   Sun Nov 11 07:27:18 2018 +0100

    build: Add missing windows libs

 libgupnp/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libgupnp/meson.build b/libgupnp/meson.build
index 42b9feb..3dfd28a 100644
--- a/libgupnp/meson.build
+++ b/libgupnp/meson.build
@@ -1,8 +1,11 @@
 context_manager_impl = []
 context_manager_args = []
+system_deps = []
 
 if host_machine.system() == 'windows'
     context_manager_impl += 'gupnp-windows-context-manager.c'
+    system_deps += cc.find_library('ws2_32', required : 'true')
+    system_deps += cc.find_library('iphlpapi', required : 'true')
 else
     if ifaddrs_available
         context_manager_impl += 'gupnp-unix-context-manager.c'
@@ -90,7 +93,7 @@ libgupnp = library(
     'gupnp-1.2',
     sources + context_manager_impl + enums,
     version : '0.0.0',
-    dependencies : dependencies,
+    dependencies : dependencies + system_deps,
     c_args : context_manager_args,
     include_directories: include_directories('..'),
     install: true


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