summaryrefslogtreecommitdiff
path: root/security/dropbear/patches/patch-configure
blob: 068b3d679461e517d20ec26b549df1195c7a1fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-configure,v 1.1 2017/05/16 21:54:21 snj Exp $

this test for the system libtomcrypt needs -ltommath.

--- configure.orig	2017-04-25 21:47:13.570580493 -0700
+++ configure	2017-04-25 21:47:30.336185297 -0700
@@ -5963,7 +5963,7 @@ if ${ac_cv_lib_tomcrypt_register_cipher+
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltomcrypt  $LIBS"
+LIBS="-ltomcrypt -ltommath $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */