Commit 4df165dd authored by Seungha Yang's avatar Seungha Yang
Browse files

meson: Fix build with MSVC and non-English locale

Otherwise, MSVC will complain and cause build error.
parent 1a09c365
......@@ -29,6 +29,12 @@ cc = meson.get_compiler('c')
syslibs = []
if cc.get_id() == 'msvc'
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
language : 'c')
if host_machine.system() == 'windows'
syslibs += [cc.find_library('iphlpapi')]
syslibs += [cc.find_library('ws2_32')]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment