From f8e37d114fa4c186105796323e264b4c27aca439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 1 Oct 2007 20:37:25 +0000 Subject: [PATCH] openssl might require -ldl too, so lets check that. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21942 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/crypto.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf/crypto.m4 b/cf/crypto.m4 index 300c3ca25..f06703309 100644 --- a/cf/crypto.m4 +++ b/cf/crypto.m4 @@ -127,7 +127,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then fi CFLAGS="-DHAVE_OPENSSL ${INCLUDE_hcrypto} ${CFLAGS}" saved_LIB_hcrypto="$LIB_hcrypto" - for lres in "" "-lnsl -lsocket"; do + for lres in "" "-ldl" "-lnsl -lsocket" "-lnsl -lsocket -ldl"; do LIB_hcrypto="${saved_LIB_hcrypto} -lcrypto $lres" LIB_hcrypto_a="$LIB_hcrypto" LIB_hcrypto_so="$LIB_hcrypto"