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
This commit is contained in:
Love Hörnquist Åstrand
2007-10-01 20:37:25 +00:00
parent 66608b1a52
commit f8e37d114f

View File

@@ -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"