From 3d74d8e95b7c4fed21bc56887b15cd8851380791 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 2 Jan 2017 08:51:50 +0000 Subject: [PATCH] - Fix #1194: Cross build fails when $host isn't `uname` for getentropy. git-svn-id: file:///svn/unbound/trunk@3974 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure | 2 +- configure.ac | 2 +- doc/Changelog | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b2dbbc7e4..14702491b 100755 --- a/configure +++ b/configure @@ -19283,7 +19283,7 @@ else esac else - case `uname` in + case "$host" in Darwin) case " $LIBOBJS " in *" getentropy_osx.$ac_objext "* ) ;; diff --git a/configure.ac b/configure.ac index dfacbbe4d..cf4c2c182 100644 --- a/configure.ac +++ b/configure.ac @@ -1211,7 +1211,7 @@ if test "$USE_NSS" = "no"; then if test "$USE_WINSOCK" = 1; then AC_LIBOBJ(getentropy_win) else - case `uname` in + case "$host" in Darwin) AC_LIBOBJ(getentropy_osx) ;; diff --git a/doc/Changelog b/doc/Changelog index 620590eca..cb24a0a73 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +2 January 2017: Wouter + - Fix #1194: Cross build fails when $host isn't `uname` for getentropy. + 23 December 2016: Ralph - Fix #1190: Do not echo back EDNS options in local-zone error response. - iana portlist update