$OpenBSD: patch-configure,v 1.15 2010/03/30 15:07:06 ajacoutot Exp $
--- configure.orig	Tue Mar 30 15:19:59 2010
+++ configure	Tue Mar 30 16:48:57 2010
@@ -26065,7 +26065,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 >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -26360,7 +26360,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 >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
