Hi,
I love libguestfs and guestfs-tools. Here's a bunch of fixes to make it compile on
MacOS.
There's a homebrew formula which applies these patches before building libguests:
https://github.com/quic/homebrew-quic/blob/main/Formula/libguestfs.rb
I am not sure about `configure: Use -map in script flags`, as it probably needs some way
to detect the current platform and use the right flag for the linker.
Best regards,
Antonio Caggiano
Antonio Caggiano (5):
  build: Link libvirt-is-version with libgnu
  lib: Fix environ on MacOS
  configure: Use -map in script flags
  qemu: Add HVF to the accelerators list.
  ocaml: INSTALL_OCAMLLIB Makefile parameter
 lib/Makefile.am        |  6 ++++--
 lib/guestfs-internal.h |  5 +++++
 lib/handle.c           |  1 +
 lib/qemu.c             |  4 ++--
 m4/guestfs-c.m4        |  2 +-
 m4/ocaml.m4            |  3 +++
 ocaml/Makefile.am      | 14 +++++++-------
 7 files changed, 23 insertions(+), 12 deletions(-)
-- 
2.45.1