On 8/13/24 21:24, Philippe Mathieu-Daudé wrote:
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")
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  plugins/meson.build | 50 +++++++++++++++++++++++----------------------
  1 file changed, 26 insertions(+), 24 deletions(-)

Acked-by: Richard Henderson <richard.hender...@linaro.org>

Reply via email to