patch-configure 725 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-configure,v 1.5 2016/07/15 14:43:40 pea Exp $
  2. --- configure.orig Mon Feb 8 02:27:13 2016
  3. +++ configure Sat Jul 2 17:10:19 2016
  4. @@ -5743,7 +5743,7 @@ if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
  5. $as_echo_n "(cached) " >&6
  6. else
  7. ac_check_lib_save_LIBS=$LIBS
  8. -LIBS="-lssl $LIBS"
  9. +LIBS="-lcrypto -lssl $LIBS"
  10. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11. /* end confdefs.h. */
  12. @@ -6210,7 +6210,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13. if test "$PG_SSL" = "yes"
  14. then
  15. - LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lssl $CRYPTO_LIB"
  16. + LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lcrypto -lssl $CRYPTO_LIB"
  17. else
  18. LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS $CRYPTO_LIB"
  19. fi