$NetBSD: patch-ab,v 1.15 2008/11/19 11:17:49 kefren Exp $
--- configure.orig	2008-02-05 14:21:50.000000000 +0200
+++ configure	2008-02-05 14:24:06.000000000 +0200
@@ -2890,7 +2890,7 @@
 		CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD"
 		libmono_ldflags="-pthread"
 		need_link_unlink=yes
-		libdl="-ldl"
+		libdl="-ldl /libexec/ld.elf_so"
 		libgc_threads=pthreads
 		with_sigaltstack=no
 		;;
 # these flags will work for all versions of -STABLE
