From 92a97c4f48e0c620b1498f9b8d065c168490d272 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 13 Mar 2024 03:31:09 +0530 Subject: [PATCH] meson: Fix a needless recompilation of some gdbus tests The gdbus-example-objectmanager visibility header was being re-created on reconfigure, causing a needless rebuild of gdbus tests that were using the visibility header. All other invocations of gen_visibility_macros are via custom_target. --- gio/tests/gdbus-object-manager-example/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/gdbus-object-manager-example/meson.build b/gio/tests/gdbus-object-manager-example/meson.build index 83b4fc06c..0a5e2f8a5 100644 --- a/gio/tests/gdbus-object-manager-example/meson.build +++ b/gio/tests/gdbus-object-manager-example/meson.build @@ -1,4 +1,4 @@ -gdbus_example_objectmanager_visibility_h = configure_file( +gdbus_example_objectmanager_visibility_h = custom_target('gdbus-example-objectmanager-visibility', output: 'gdbus-example-objectmanager-visibility.h', command: [gen_visibility_macros, '2.0', 'visibility-macros', 'GDBUS_OBJECT_MANAGER_EXAMPLE', '@OUTPUT@'],