On 7/9/23 13:44, Paolo Bonzini wrote:
Under Darwin, using -shared makes it impossible to have undefined symbols
and -bundle has to be used instead; so detect the OS and use
different options.

Based-on: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
---
         This replaces Philippe's patch to link with GLib, and also fixes
         errors like

           "_qemu_plugin_get_hwaddr", referenced from:
              _vcpu_mem in execlog.o

         I guess this shows that we're kinda losing in not using Meson
         for the plugins, but as I said I appreciate the didactic value
         of using a standalone Makefile (with only a handful of lines
         in configure).

  contrib/plugins/Makefile | 4 ++++
  1 file changed, 4 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to