$NetBSD: patch-configure,v 1.6 2022/07/29 08:04:48 adam Exp $ Fix linking on Darwin. --- configure.orig 2022-07-28 11:23:32.000000000 +0000 +++ configure @@ -11448,7 +11448,6 @@ printf "%s\n" "#define DYN_NCRYPT 1" >>c *darwin*) have_macosx=yes save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -Wl,-no_weak_imports" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker supports -Wl,-no_weak_imports" >&5 printf %s "checking whether the linker supports -Wl,-no_weak_imports... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext