[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 23 09:38:40 UTC 2020


 meson.build |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 239d0f71662c2ede24725dee8f1c65759522aaee
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Thu Jun 18 13:53:23 2020 +0100

    build: Add possible missing library on Windows
    
    websocket.c will use StrStrI from shlapi library.
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
    Acked-by: Julien Ropé <jrope at gmail.com>

diff --git a/meson.build b/meson.build
index b2fb018b..28982ee1 100644
--- a/meson.build
+++ b/meson.build
@@ -108,7 +108,9 @@ if host_machine.system() != 'windows'
     spice_server_deps += compiler.find_library(dep)
   endforeach
 else
-  spice_server_deps += compiler.find_library('ws2_32')
+  foreach dep : ['ws2_32', 'shlwapi']
+    spice_server_deps += compiler.find_library(dep)
+  endforeach
 endif
 
 #


More information about the Spice-commits mailing list