diff configure @ 1661:28b9b3d9414f

Switch default linking order for OpenSSL libs
author Adam Chlipala <adam@chlipala.net>
date Fri, 06 Jan 2012 18:09:50 -0500
parents 8611da277df4
children df8f18d50746
line wrap: on
line diff
--- a/configure	Fri Jan 06 09:40:20 2012 -0500
+++ b/configure	Fri Jan 06 18:09:50 2012 -0500
@@ -12348,7 +12348,7 @@
             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
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
@@ -15028,6 +15028,7 @@
   Postgres C header:   PGHEADER       $PGHEADER
   MySQL C header:      MSHEADER       $MSHEADER
   SQLite C header:     SQHEADER       $SQHEADER
+  OpenSSL:             OPENSSL_LIBS   $OPENSSL_LIBS
 
   Version:             $VERSION
 EOF