$OpenBSD: patch-configure,v 1.16 2010/09/30 07:40:37 ajacoutot Exp $
--- configure.orig	Tue Sep 28 11:35:20 2010
+++ configure	Tue Sep 28 12:15:12 2010
@@ -17694,7 +17694,7 @@ if test "${openssl_libs+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
-		LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
+		LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -17824,7 +17824,7 @@ if test "${openssl_libs+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
-		LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
+		LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
