Skip to content

meson: Only require C++ compiler when building for Windows

Simon McVittie requested to merge smcv/dbus:cxx-only-on-windows into master

dbus is generally a C-only project, but the Windows side has a tiny amount of C++ to initialize global locks (because Windows doesn't have a direct equivalent of PTHREAD_MUTEX_INITIALIZER). We don't need a C++ compiler when building for a non-Windows OS, so there's no need to find it or check which options it supports.

Merge request reports