Building unbound on MXE (short version)

Henri Manson hfmanson at gmail.com
Mon Jul 4 21:11:20 UTC 2016


After changing:

manson at manson-VirtualBox:~/unbound$ svn diff configure libunbound/ubsyms.def
Index: configure
===================================================================
--- configure   (revision 3802)
+++ configure   (working copy)
@@ -4055,7 +4055,7 @@
 # are we on MinGW?
 if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
 else
-       if echo $target | grep mingw32 >/dev/null; then on_mingw="yes"
+       if echo $host | grep mingw32 >/dev/null; then on_mingw="yes"
        else on_mingw="no"; fi
 fi

Index: libunbound/ubsyms.def
===================================================================
--- libunbound/ubsyms.def       (revision 3802)
+++ libunbound/ubsyms.def       (working copy)
@@ -33,3 +33,5 @@
 ub_strerror
 ub_version
 ub_wait
+sldns_wire2str_rdata_buf
+sldns_wire2str_type_buf

and invoking

./configure --host=x86_64-w64-mingw32.shared
--build=x86_64-unknown-linux-gnu
--prefix=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared
--disable-flto --enable-shared --without-pthreads
--with-libexpat=/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared
LIBS=-lssl -L/home/manson/nlnet/mxe/usr/x86_64-w64-mingw32.shared/lib
-lcrypto

unbound builds on MXE 64-bits shared

I think it's best to apply the fixes upstream before creating an official
MXE .mk package

Henri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160704/b7b89307/attachment.htm>


More information about the Unbound-users mailing list