Skip to content

Commit

Permalink
windows fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal authored Aug 8, 2024
1 parent 13c79bd commit c0f885b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,23 @@ elif host_machine.system() == 'windows'
executable_link_args += [
# '-lole32',
# '-lShell32',
'-lws2_32',
# '-lws2_32',
]
endif

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

#########################

Expand Down

0 comments on commit c0f885b

Please sign in to comment.