summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorGreg Manning <gmanning@rapitasystems.com>2023-11-20 15:08:23 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-11-23 14:10:04 +0000
commit4789f9d3a16dbd8139d935ec3c5008d0fbd40f88 (patch)
tree0db5984832d2fb1f1fe36b2335b01c66b85ee7e8 /plugins
parent8e721c327778948bdbd2076a417e8ccc67525ae7 (diff)
downloadfocaccia-qemu-4789f9d3a16dbd8139d935ec3c5008d0fbd40f88.tar.gz
focaccia-qemu-4789f9d3a16dbd8139d935ec3c5008d0fbd40f88.zip
plugins: fix win plugin tests on cross compile
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1972

Cross compile gcc is more picky about argument order than msys. Changed
the meson command to take the (now renamed) libqemu_plugin_api.a as a
lib, rather than an object. This puts it in the right place on both
native and cross compile gcc commands

Reenable plugins on crossbuilds

Signed-off-by: Greg Manning <gmanning@rapitasystems.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231109124326.21106-2-gmanning@rapitasystems.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231120150833.2552739-5-alex.bennee@linaro.org>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/meson.build b/plugins/meson.build
index 40d24529c0..6b2d7a9292 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -28,7 +28,7 @@ if get_option('plugins')
     # then use dlltool to assemble a delaylib.
     win32_qemu_plugin_api_lib = configure_file(
       input: win32_plugin_def,
-      output: 'qemu_plugin_api.lib',
+      output: 'libqemu_plugin_api.a',
       command: [dlltool, '--input-def', '@INPUT@',
                 '--output-delaylib', '@OUTPUT@', '--dllname', 'qemu.exe']
     )