Commit 54e498f2 authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by Tim-Philipp Müller

meson: Specify encoding to UTF-8 when building with MSVC

Fix build on some non-US locale Windows systems

  gstreamer/gst/gstdebugutils.c(194): error C2001
parent 17798bca
......@@ -43,6 +43,7 @@ if cc.get_id() == 'msvc'
'/wd4146', # unary minus on unsigned (beware INT_MIN)
'/wd4244', # lossy type conversion (e.g. double -> int)
'/wd4305', # truncating type conversion (e.g. double -> float)
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
language : 'c')
elif cc.has_link_argument('-Wl,-Bsymbolic-functions')
# FIXME: Add an option for this if people ask for it
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment