On 4/24/25 11:33, Pierrick Bouvier wrote:
We are about to expose various target specific commands for all targets,
so we need to stub not implemented qmp_* functions.
Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
qapi/commands-weak-stubs.c | 38 ++++++++++++++++++++++++++++++++++++++
qapi/meson.build | 3 +++
2 files changed, 41 insertions(+)
create mode 100644 qapi/commands-weak-stubs.c
It seems that MinGW does not support weak symbols without any strong
definition. Thus, we'll need to implement various stubs file and
conditionally add them in meson.build depending on TARGET_{arch} value.