$NetBSD: patch-bootstrap,v 1.6 2023/12/07 17:34:27 adam Exp $ librhash requires -lcrypto when statically linked. --- bootstrap.orig 2023-12-06 13:57:42.000000000 +0000 +++ bootstrap @@ -1797,7 +1797,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 jsoncpp_cxx_flags=