summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-01-06 18:09:50 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2012-01-06 18:09:50 -0500
commit87cd4f01bb611d65ea6914ce2d588f6c2a924c58 (patch)
tree2ae7963f305a89576a2286593330b78b5a9bd58c /m4
parent955059f978b308bc06844ce1f1fd1cc2a5ea5ffb (diff)
Switch default linking order for OpenSSL libs
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_check_openssl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4
index 065fff85..e653e8b9 100644
--- a/m4/ax_check_openssl.m4
+++ b/m4/ax_check_openssl.m4
@@ -79,7 +79,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
if test -f "$ssldir/include/openssl/ssl.h"; then
OPENSSL_INCLUDES="-I$ssldir/include"
OPENSSL_LDFLAGS="-L$ssldir/lib"
- OPENSSL_LIBS="-lssl -lcrypto"
+ OPENSSL_LIBS=" -lcrypto -lssl"
found=true
AC_MSG_RESULT([yes])
break