0b9e5eb38a
ok landry@
22 lines
727 B
Plaintext
22 lines
727 B
Plaintext
$OpenBSD: patch-configure,v 1.2 2010/04/28 11:23:33 pea Exp $
|
|
--- configure.orig Tue Mar 9 11:11:32 2010
|
|
+++ configure Tue Mar 23 12:57:31 2010
|
|
@@ -5420,7 +5420,7 @@ if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set;
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lssl $LIBS"
|
|
+LIBS="-lcrypto -lssl $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -5813,7 +5813,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
if test "$PG_SSL" = "yes"
|
|
then
|
|
- LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lssl $CRYPTO_LIB"
|
|
+ LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lcrypto -lssl $CRYPTO_LIB"
|
|
else
|
|
LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS $CRYPTO_LIB"
|
|
fi
|