build: Use list for dbus_static_flags

Meson complains that it is only allowed to concatenate list to lists and
not strings.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Origin: https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/388
This commit is contained in:
Daniel Wagner 2023-01-13 14:04:19 +01:00 committed by Simon McVittie
parent 90a9482cca
commit cd1a9bb09a

View file

@ -179,7 +179,7 @@ if host_os.contains('solaris')
endif
dbus_static_flags = ( get_option('default_library') == 'static'
? '-DDBUS_STATIC_BUILD'
? [ '-DDBUS_STATIC_BUILD' ]
: []
)
compile_args += dbus_static_flags