aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 896fa5a7..4697fed6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -803,7 +803,7 @@ else
AC_MSG_WARN(Consider re-running configure --with-ssl.)
fi
-if test "$cross_compiling" != yes
+if test "$cross_compiling" != yes -a "$with_ssl" != "no"
then
AC_LIB_LINKFLAGS([crypto])
AC_LIB_LINKFLAGS([ssl], [crypto])