-M is not a valid flag for MacOS ld. Signed-off-by: Antonio Caggiano <quic_acagg...@quicinc.com> --- m4/guestfs-c.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/guestfs-c.m4 b/m4/guestfs-c.m4 index c6d33183d..8035a9729 100644 --- a/m4/guestfs-c.m4 +++ b/m4/guestfs-c.m4 @@ -57,7 +57,7 @@ CFLAGS="$CFLAGS -fno-strict-overflow -Wno-strict-overflow" dnl Work out how to specify the linker script to the linker. VERSION_SCRIPT_FLAGS=-Wl,--version-script= `/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null` || \ - VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," + VERSION_SCRIPT_FLAGS="-Wl,-map -Wl," AC_SUBST(VERSION_SCRIPT_FLAGS) dnl Use -fvisibility=hidden by default in the library. -- 2.45.1 _______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org