From: Simon McVittie Date: Fri, 28 Feb 2025 12:03:55 +0000 (+0000) Subject: build: If expat is a submodule, explicitly disable its unit tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8514f7bfa074ac9962ba6937c6bd9a79a60e9335;p=thirdparty%2Fdbus.git build: If expat is a submodule, explicitly disable its unit tests 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 --- diff --git a/meson.build b/meson.build index 97d14593f..2d8a1c6c7 100644 --- a/meson.build +++ b/meson.build @@ -396,7 +396,12 @@ endif 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