Bugzilla – Bug 1194
Cross build fails when $host isn't `uname`
Last modified: 2017-01-02 09:52:42 CET
Trying to cross build libunbound 1.6.0 from Darwin to Linux croaks on compat/getentropy_osx.c out of the box. If I change line 1191 of configure.ac to reference $host instead of `uname` and run autoconf then the build succeeds. There is a few other `uname`s in configure.ac that probably need a gander too.
Thank you for the finding this issue. I have fixed it as you suggested. (The other uname looks allright, but good to inspect it).
Best regards, Wouter