<div dir="ltr">Hello Wouter,<div><br></div><div>Thanks. I have checked in the unbound .mk file into MXE at <a href="https://github.com/arpa2/mxe">https://github.com/arpa2/mxe</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 11:01 AM, W.C.A. Wijngaards <span dir="ltr"><<a href="mailto:wouter@nlnetlabs.nl" target="_blank">wouter@nlnetlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Henri,<br>
<br>
<a href="http://www.nlnetlabs.nl/~wouter/unbound-1.5.10_20160712.tar.gz" rel="noreferrer" target="_blank">http://www.nlnetlabs.nl/~wouter/unbound-1.5.10_20160712.tar.gz</a><br>
<br>
This is a snapshot of the code repository with the files from today.<br>
<br>
Best regards, Wouter<br>
<span class="im HOEnZb"><br>
On 12/07/16 10:57, Henri Manson wrote:<br>
> Hello Wouter,<br>
><br>
> Can you make an unbound release (unbound-X.Y.Z.tar.gz) containing these<br>
> changes? Then I can try to make a MXE project out of it<br>
><br>
> Best regards, Henri<br>
><br>
> On Tue, Jul 5, 2016 at 9:25 AM, W.C.A. Wijngaards via Unbound-users<br>
</span><div class="HOEnZb"><div class="h5">> <<a href="mailto:unbound-users@unbound.net">unbound-users@unbound.net</a> <mailto:<a href="mailto:unbound-users@unbound.net">unbound-users@unbound.net</a>>> wrote:<br>
><br>
> Hi Henri,<br>
><br>
> I made slightly different fixes for these issues:<br>
> if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"<br>
> And the sldns_wire2str stuff is fixed with extra link arguments in<br>
> Makefile.in for anchor-update.exe.<br>
><br>
> That should make the build work also for other ports than MXE.<br>
><br>
> Best regards, Wouter<br>
><br>
> On 04/07/16 23:11, Henri Manson via Unbound-users wrote:<br>
> > After changing:<br>
> ><br>
> > manson@manson-VirtualBox:~/unbound$ svn diff configure<br>
> libunbound/ubsyms.def<br>
> > Index: configure<br>
> > ===================================================================<br>
> > --- configure (revision 3802)<br>
> > +++ configure (working copy)<br>
> > @@ -4055,7 +4055,7 @@<br>
> > # are we on MinGW?<br>
> > if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"<br>
> > else<br>
> > - if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"<br>
> > + if echo $host | grep mingw32 >/dev/null; then on_mingw="yes"<br>
> > else on_mingw="no"; fi<br>
> > fi<br>
> ><br>
> > Index: libunbound/ubsyms.def<br>
> > ===================================================================<br>
> > --- libunbound/ubsyms.def (revision 3802)<br>
> > +++ libunbound/ubsyms.def (working copy)<br>
> > @@ -33,3 +33,5 @@<br>
> > ub_strerror<br>
> > ub_version<br>
> > ub_wait<br>
> > +sldns_wire2str_rdata_buf<br>
> > +sldns_wire2str_type_buf<br>
> ><br>
> > and invoking<br>
> ><br>
> > ./configure --host=x86_64-w64-mingw32.shared<br>
> > --build=x86_64-unknown-linux-gnu<br>
> > --prefix=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared<br>
> > --disable-flto --enable-shared --without-pthreads<br>
> > --with-libexpat=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared<br>
> > LIBS=-lssl -L/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared/lib<br>
> > -lcrypto<br>
> ><br>
> > unbound builds on MXE 64-bits shared<br>
> ><br>
> > I think it's best to apply the fixes upstream before creating an<br>
> > official MXE .mk package<br>
> ><br>
> > Henri<br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>