qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] contrib/plugins: Install plugins to moddir
@ 2025-03-03 10:09 Christoph Müllner
  2025-03-03 10:24 ` 汪鹏程
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Müllner @ 2025-03-03 10:09 UTC (permalink / raw)
  To: qemu-devel, Alex Bennée, Alexandre Iooss, Mahmoud Mandour,
	Pierrick Bouvier
  Cc: Wang Pengcheng, Christoph Müllner

Currently the built plugins can only be found in the build directory.
This patch lists them as installable objects, which will be copied
into qemu_moddir with `make install`.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
---
 contrib/plugins/meson.build | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build
index 82c97ca0f5..c25a1871b7 100644
--- a/contrib/plugins/meson.build
+++ b/contrib/plugins/meson.build
@@ -14,11 +14,15 @@ if get_option('plugins')
                         include_directories: '../../include/qemu',
                         link_depends: [win32_qemu_plugin_api_lib],
                         link_args: win32_qemu_plugin_api_link_flags,
-                        dependencies: glib)
+                        dependencies: glib,
+                        install: true,
+                        install_dir: qemu_moddir)
     else
       t += shared_module(i, files(i + '.c'),
                         include_directories: '../../include/qemu',
-                        dependencies: glib)
+                        dependencies: glib,
+                        install: true,
+                        install_dir: qemu_moddir)
     endif
   endforeach
 endif
-- 
2.47.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-20 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-03 10:09 [PATCH] contrib/plugins: Install plugins to moddir Christoph Müllner
2025-03-03 10:24 ` 汪鹏程
2025-03-03 10:37   ` Christoph Müllner
2025-03-20 17:44     ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).