meson: Fix for building on non-English locale

Specify utf-8 encoding to fix building on non-English locale
macos/v1.5.9^2
Seungha Yang 3 years ago
parent 71dcab0cc9
commit a07b9b3383
  1. 1
      meson.build

@ -95,6 +95,7 @@ if cc.get_id() == 'msvc'
'-we4053', # an expression of type void was used as an operand
'-we4071', # no function prototype given
'-we4819', # the file contains a character that cannot be represented in the current code page
'/utf-8', # Set the input and exec encoding to utf-8, like is the default with GCC
]
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [

Loading…
Cancel
Save