mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 05:18:00 +02:00
meson: Specify that build-machine compiler for C++ is not required
When cross-compiling Windows binaries on (for example) Linux, we only need a Windows C++ compiler and not a Linux C++ compiler. Resolves: https://gitlab.freedesktop.org/dbus/dbus/-/issues/439 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
3365c95c20
commit
3d0ee109c3
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ platform_windows = host_os.contains('windows')
|
|||
if platform_windows
|
||||
# On Windows, we use C++ constructors to initialize global locks
|
||||
using_cpp = true
|
||||
add_languages('cpp', required: true)
|
||||
add_languages('cpp', required: true, native: false)
|
||||
cpp = meson.get_compiler('cpp')
|
||||
else
|
||||
using_cpp = false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue