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