If we're falling back to building a local copy of expat, running or
debugging its unit tests is out-of-scope for maintenance of dbus.
In fact this is the default in the meson_options.txt provided by
WrapDB[1], but explicit is better than implicit.
[1] https://github.com/mesonbuild/wrapdb/blob/HEAD/subprojects/packagefiles/expat/meson_options.txt
Signed-off-by: Simon McVittie <smcv@collabora.com>
use_glib = glib.found() and gio.found()
if message_bus
- expat = dependency('expat')
+ expat = dependency(
+ 'expat',
+ default_options: [
+ 'build_tests=false',
+ ],
+ )
else
expat = dependency('', required: false)
endif