Merge branch 'fix-buildtype-usage' into 'master'

meson: Fix buildtype usage

See merge request GNOME/glib!1433
This commit is contained in:
Sebastian Dröge
2020-04-03 11:58:56 +00:00
2 changed files with 19 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ if not dbus1_dep.found()
# MSVC: Search for the DBus library by the configuration, which corresponds
# to the output of CMake builds of DBus. Note that debugoptimized
# is really a Release build with .PDB files.
if buildtype == 'debug'
if vs_crt == 'debug'
dbus1_dep = cc.find_library('dbus-1d', required : false)
else
dbus1_dep = cc.find_library('dbus-1', required : false)