diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-02-14 23:03:57 +0900 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-02-16 17:27:22 +0400 |
commit | 7aee57df930da2cf6361c5183aff96468ae4027d (patch) | |
tree | cbc9edb52c6900d8538ab7241f27ebf4cdf6cf27 /ui | |
parent | d67611907590a1e6c998b7c5a5cb4394acf84329 (diff) |
meson: Explicitly specify dbus-display1.h dependency
Explicitly specify dbus-display1.h as a dependency so that files
depending on it will not get compiled too early.
Fixes: 1222070e7728 ("meson: ensure dbus-display generated code is built before other units")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20240214-dbus-v7-2-7eff29f04c34@daynix.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/meson.build b/ui/meson.build index 376e0d771b..0b7e2b6f6b 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -91,7 +91,7 @@ if dbus_display '--c-namespace', 'QemuDBus', '--generate-c-code', '@BASENAME@']) dbus_display1_lib = static_library('dbus-display1', dbus_display1, dependencies: gio) - dbus_display1_dep = declare_dependency(link_with: dbus_display1_lib, include_directories: include_directories('.')) + dbus_display1_dep = declare_dependency(link_with: dbus_display1_lib, sources: dbus_display1[0]) dbus_ss.add(when: [gio, dbus_display1_dep], if_true: [files( 'dbus-chardev.c', |