]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1194: Cross build fails when $host isn't `uname` for getentropy.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 2 Jan 2017 08:51:50 +0000 (08:51 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 2 Jan 2017 08:51:50 +0000 (08:51 +0000)
git-svn-id: file:///svn/unbound/trunk@3974 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac
doc/Changelog

index b2dbbc7e445a1ec3c68f067bd30873ab24903cef..14702491b2533167ce5a4f5d60e2e6b308b95c44 100755 (executable)
--- 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 "* ) ;;
index dfacbbe4d46a57727c5de8cf6a76b2e73025b68c..cf4c2c182bbcb522e627b201117b07c3a5fff7c0 100644 (file)
@@ -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)
                        ;;
index 620590eca58088b5e0d5ee0a703f09e7e2b6cac9..cb24a0a736dc1f0c8c2365073c42e6a2ee873d05 100644 (file)
@@ -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