From 072dc06c391183a54455754f8dda78895c753cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org> Date: Wed, 11 Feb 2015 14:30:04 +0100 Subject: [PATCH] GnuTLS doesn't provide RAND_pseudo_bytes, so we need to link it from elsewhere --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 044c38b67..6062ddc90 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,8 @@ PKG_CHECK_MODULES([libknot], [libknot]) PKG_CHECK_MODULES([libuv], [libuv], [build_daemon=yes], [build_daemon=no]) PKG_CHECK_MODULES([cmocka], [cmocka], [build_tests=yes], [build_tests=no]) +AC_SEARCH_LIBS([RAND_pseudo_bytes], [gnutls-openssl crypto]) + # Check for python (integration tests) AC_ARG_ENABLE([integration-tests], AS_HELP_STRING([--enable-integration-tests], [enable integration tests (require Python devel), default: no]), -- GitLab