]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup solaris linkage.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Jul 2014 09:50:15 +0000 (09:50 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Jul 2014 09:50:15 +0000 (09:50 +0000)
git-svn-id: file:///svn/unbound/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index c4c67d794313e49d6a34ab3ea9b6782553259bf1..f70082175b4867e78db7393ea0818a22cfb14d9d 100755 (executable)
--- 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
index 508d0d288bfe43135f67288fbe23dff78392e9ab..73075844906a8060dd05f1b3f2e16fe67dfbc3a4 100644 (file)
@@ -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)