meson: statically link immodules under mingw by default

To match what the autotools build does right now.
This commit is contained in:
Christoph Reiter 2019-03-31 19:12:08 +02:00 committed by Christoph Reiter
parent b5a8bd5fe3
commit 65f2fe828c

View File

@ -615,8 +615,9 @@ builtin_modules_opt = get_option('builtin_immodules')
builtin_immodules = []
if builtin_modules_opt == ''
if cc.get_id() == 'msvc'
# Current MSVC projects build all immodules directly into GTK by default
if os_win32
# Current MSVC projects build all immodules directly into GTK by default,
# as does the mingw autotools build
message('IMModules are built into GTK for MSVC builds by default')
builtin_immodules = ['all']
else