Hi, the build on MinGW fails in lib/src/ due to
@echo Creating $@ and libmicrohttpd2.exp by $(DLLTOOL)... && \ dll_name=`$(EGREP) -o dlname=\'.+\' libmicrohttpd2.la` && \ libmicrohttpd2.la contains dlname='' and thus the egrep (or grep -E) fails. I am on Debian unstable and use this sequence in a script: unset CC PREFIX=x86_64-w64-mingw32 export INSTALLDIR="$PWD/$PREFIX" export PKG_CONFIG_PATH=$INSTALLDIR/lib/pkgconfig export CPPFLAGS="-I$INSTALLDIR/include" export LDFLAGS="-L$INSTALLDIR/lib" export CFLAGS="-O2 -Wall -Wno-format" git clone --recursive https://github.com/dlfcn-win32/dlfcn-win32.git cd dlfcn-win32 ./configure --prefix=$PREFIX --cc=$PREFIX-gcc make cp -p libdl.a ../$PREFIX/lib/ cp -p dlfcn.h ../$PREFIX/include/ cd .. git clone --recursive https://gnunet.org/git/libmicrohttpd.git cd libmicrohttpd ./bootstrap ./configure --build=x86_64-pc-linux-gnu --host=$PREFIX --prefix=$INSTALLDIR --disable-doc --disable-examples --enable-shared make clean make -j$(nproc) cd .. Regards, Tim
signature.asc
Description: OpenPGP digital signature