From 41a972ef9aa3b4619acb650417f3be4c25949dde Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 11 Jul 2014 09:50:15 +0000 Subject: [PATCH] Fixup solaris linkage. git-svn-id: file:///svn/unbound/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure | 3 +++ configure.ac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configure b/configure index c4c67d794..f70082175 100755 --- a/configure +++ b/configure @@ -18220,6 +18220,9 @@ fi done + if test "$ac_cv_header_sys_sha2_h" = "yes"; then + LIBS="$LIBS -lmd" + fi ;; Linux|*) case " $LIBOBJS " in diff --git a/configure.ac b/configure.ac index 508d0d288..730758449 100644 --- a/configure.ac +++ b/configure.ac @@ -989,6 +989,9 @@ if test "$USE_NSS" = "no"; then AC_LIBOBJ(sha512) ]) ], [AC_INCLUDES_DEFAULT]) + if test "$ac_cv_header_sys_sha2_h" = "yes"; then + LIBS="$LIBS -lmd" + fi ;; Linux|*) AC_LIBOBJ(getentropy_linux) -- 2.47.2