Skip to content

meson: Minor fix for msvc build

Seungha Yang requested to merge seungha.yang/libsoup:msvc-meson into master

Please see each commit

meson: Make gettext optional

gettext might not be available on Windows
meson: Explicitly set encoding to utf-8 for non-English locale

Visual Studio 2019 handle it as an error.

FAILED: subprojects/libsoup/libsoup/1b29d39@@soup-2.4@sha/meson-generated_.._soup-enum-types.c.obj
cl @subprojects/libsoup/libsoup/1b29d39@@soup-2.4@sha/meson-generated_.._soup-enum-types.c.obj.rsp
subprojects\glib\glib/gmacros.h(824): error C4819:
    The file contains a character that cannot be represented in the current code page (949).
    Save the file in Unicode format to prevent data loss

Merge request reports