openbsd-ports/lang/swi-prolog/patches/patch-packages_ssl_configure
2011-04-08 07:55:16 +00:00

16 lines
496 B
Plaintext

$OpenBSD: patch-packages_ssl_configure,v 1.2 2011/04/08 07:55:16 jasper Exp $
We need -lcrypto when linking with -ssl.
--- packages/ssl/configure.orig Wed Mar 16 14:05:59 2011
+++ packages/ssl/configure Fri Apr 8 09:40:12 2011
@@ -4067,7 +4067,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="-lssl -lcrypto $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */