On Mon, Aug 12, 2024 at 11:41:17AM +0200, Antonio Caggiano wrote:
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(-)
Thanks, I pushed # 1, 2 & 4.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit