summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-10-12 02:41:41 +0900
committerSeungha Yang <seungha@centricular.com>2021-10-12 02:41:41 +0900
commita07b9b33832df2261ace6b84e6a041d14e390a75 (patch)
treec6d2111009608e8583189d75344ea4fc8b709079
parent71dcab0cc9accb322771fa8587241ee63fb76dd0 (diff)
downloadlibepoxy-a07b9b33832df2261ace6b84e6a041d14e390a75.tar.gz
meson: Fix for building on non-English locale
Specify utf-8 encoding to fix building on non-English locale
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e0228d1..182a3c9 100644
--- a/meson.build
+++ b/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 = [