Index: configure.ac =================================================================== --- configure.ac.orig +++ configure.ac @@ -497,7 +497,7 @@ AC_ARG_WITH(ssl, AC_HELP_STRING([--with- else AC_MSG_RESULT(found in $ssldir) HAVE_SSL=yes - LDFLAGS="$LDFLAGS -L$ssldir/lib" + LDFLAGS="$LDFLAGS" if test "x$enable_rpath" = xyes; then RUNTIME_PATH="$RUNTIME_PATH -R$ssldir/lib" fi Index: configure =================================================================== --- configure.orig +++ configure @@ -20884,7 +20884,7 @@ echo "$as_me: error: Cannot find the SSL { echo "$as_me:$LINENO: result: found in $ssldir" >&5 echo "${ECHO_T}found in $ssldir" >&6; } HAVE_SSL=yes - LDFLAGS="$LDFLAGS -L$ssldir/lib" + LDFLAGS="$LDFLAGS" if test "x$enable_rpath" = xyes; then RUNTIME_PATH="$RUNTIME_PATH -R$ssldir/lib" fi