OSDN Git Service

plugins: fix win plugin tests on cross compile
authorGreg Manning <gmanning@rapitasystems.com>
Mon, 20 Nov 2023 15:08:23 +0000 (15:08 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Nov 2023 14:10:04 +0000 (14:10 +0000)
commit4789f9d3a16dbd8139d935ec3c5008d0fbd40f88
tree0db5984832d2fb1f1fe36b2335b01c66b85ee7e8
parent8e721c327778948bdbd2076a417e8ccc67525ae7
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>
.gitlab-ci.d/crossbuilds.yml
contrib/plugins/Makefile
plugins/meson.build
tests/plugin/meson.build