summaryrefslogtreecommitdiff
path: root/devel/cmake/patches/patch-bootstrap
blob: 6cf55b8dab9bba8db335675667df34129f1ca794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bootstrap,v 1.5 2021/03/31 07:44:29 adam Exp $

librhash requires -lcrypto when statically linked.

--- bootstrap.orig	2021-03-30 09:45:30.000000000 +0000
+++ bootstrap
@@ -1708,7 +1708,7 @@ if test "x${bootstrap_system_librhash}" 
     cmake_c_flags="${cmake_c_flags} ${use_librhash_flags}"
     cmake_cxx_flags="${cmake_cxx_flags} ${use_librhash_flags}"
   fi
-  libs="${libs} -lrhash"
+  libs="${libs} -lrhash -lcrypto"
 fi
 
 if test "${cmake_bootstrap_generator}" = "Ninja"; then