summaryrefslogtreecommitdiff
path: root/net/ctorrent/patches/patch-aa
blob: c7f50dc14eded9f0eef774113ae506e837a52bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.4 2005/01/04 11:10:10 wiz Exp $

--- configure.orig	2004-09-09 01:10:51.000000000 +0200
+++ configure
@@ -3159,7 +3159,7 @@ if test "${ac_cv_lib_ssl_SHA1_Init+set}"
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl  $LIBS"
+LIBS="-lssl -lcrypto  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -3212,7 +3212,7 @@ if test $ac_cv_lib_ssl_SHA1_Init = yes; 
 #define HAVE_LIBSSL 1
 _ACEOF
 
-  LIBS="-lssl $LIBS"
+  LIBS="-lssl -lcrypto $LIBS"
 
 else