qemu/plugins
Philippe Mathieu-Daudé 20fdd01e51 buildsys: Fix building without plugins on Darwin
Since commit 0082475e26 the plugin symbol list is unconditionally
added to the linker flags, leading to a build failure:

  Undefined symbols for architecture arm64:
    "_qemu_plugin_entry_code", referenced from:
        <initial-undefines>
  ...
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  ninja: build stopped: subcommand failed.

Fix by restricting the whole meson file to the --enable-plugins
configure argument.

Fixes: 0082475e26 ("meson: merge plugin_ldflags into emulator_link_args")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2476
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240813112457.92560-1-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240813202329.1237572-9-alex.bennee@linaro.org>
2024-08-16 14:04:19 +01:00
..
api.c plugins: add migration blocker 2024-06-24 10:15:10 +01:00
core.c accel/tcg: Move qemu_plugin_vcpu_init__async() to plugins/ 2024-07-05 12:34:55 +01:00
loader.c plugin/loader: handle basic help query 2024-07-30 11:44:21 +01:00
meson.build buildsys: Fix building without plugins on Darwin 2024-08-16 14:04:19 +01:00
plugin.h plugins: remove op from qemu_plugin_inline_cb 2024-05-16 08:55:23 +01:00
qemu-plugins.symbols plugins: add time control API 2024-06-24 10:15:04 +01:00