summary refs log tree commit diff stats
path: root/contrib/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 /contrib/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 'contrib/plugins')
-rw-r--r--contrib/plugins/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile
index 1783750cf6..0b64d2c1e3 100644
--- a/contrib/plugins/Makefile
+++ b/contrib/plugins/Makefile
@@ -49,7 +49,7 @@ all: $(SONAMES)
 	$(CC) $(CFLAGS) $(PLUGIN_CFLAGS) -c -o $@ $<
 
 ifeq ($(CONFIG_WIN32),y)
-lib%$(SO_SUFFIX): %.o win32_linker.o ../../plugins/qemu_plugin_api.lib
+lib%$(SO_SUFFIX): %.o win32_linker.o ../../plugins/libqemu_plugin_api.a
 	$(CC) -shared -o $@ $^ $(LDLIBS)
 else ifeq ($(CONFIG_DARWIN),y)
 lib%$(SO_SUFFIX): %.o