diff options
-rwxr-xr-x | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 5292937bb..c223a0436 100755 --- a/configure.ac +++ b/configure.ac @@ -1656,7 +1656,7 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno && dnl still no, but what about with -ldl? AC_MSG_CHECKING([OpenSSL linking with -ldl]) - LIBS="-ldl $LIBS" + LIBS="$LIBS -ldl" AC_TRY_LINK( [ #include <openssl/err.h> @@ -1673,7 +1673,7 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno && dnl ok, so what about bouth -ldl and -lpthread? AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread]) - LIBS="-lpthread $LIBS" + LIBS="$LIBS -lpthread" AC_TRY_LINK( [ #include <openssl/err.h> |