From c0f885bf750e8dd205617ae090747fa29195d1eb Mon Sep 17 00:00:00 2001 From: rindeal Date: Thu, 8 Aug 2024 20:53:00 +0000 Subject: [PATCH] windows fix attempt --- meson.build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1aaa398..e003af0 100644 --- a/meson.build +++ b/meson.build @@ -65,7 +65,7 @@ elif host_machine.system() == 'windows' executable_link_args += [ # '-lole32', # '-lShell32', - '-lws2_32', + # '-lws2_32', ] endif @@ -73,6 +73,15 @@ executable_dependencies = [] if host_machine.system() == 'linux' or host_machine.system() == 'darwin' executable_dependencies += [ cpp_compiler.find_library('dl'), ] endif +if host_machine.system() == 'windows' + executable_dependencies += [ + cpp_compiler.find_library('Shlwapi'), + cpp_compiler.find_library('Version'), + cpp_compiler.find_library('Winmm'), + cpp_compiler.find_library('Ws2_32'), + cpp_compiler.find_library('Wininet'), + ] +endif #########################