summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-03-11 20:05:11 +1100
committerDamien Miller <djm@mindrot.org>2000-03-11 20:05:11 +1100
commitd58b3abe0e9d887a00679245065ee91b8565037f (patch)
tree8caf62dd555725eed210620038add355b9367f32
parent02491e9632dc03c8aa75a9d406ff98445aa28786 (diff)
More config fixes
-rw-r--r--ChangeLog1
-rw-r--r--configure.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1dc77d45..eba385a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
- OpenBSD CVS change
[sshd.c]
- disallow guessing of root password
+ - More configure fixes
20000309
- OpenBSD CVS updates to v1.2.3
diff --git a/configure.in b/configure.in
index a7a2c699..90aadd98 100644
--- a/configure.in
+++ b/configure.in
@@ -151,10 +151,10 @@ fi
AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
if test ! -z "$ssldir" ; then
- LIBS="$saved_LIBS -L$ssldir -lcrypto"
+ LIBS="$saved_LIBS -L$ssldir/lib -L$ssldir -lcrypto"
CFLAGS="$CFLAGS -I$ssldir/include"
if test "x$need_dash_r" = "x1" ; then
- LIBS="$LIBS -R$ssldir/lib"
+ LIBS="$LIBS -R$ssldir/lib -L$ssldir"
fi
else
LIBS="$saved_LIBS -lcrypto"