diff -r 6b3034a884dc -r ea1c42c3a780 configure.ac --- a/configure.ac Thu Jun 16 18:00:21 2016 +0100 +++ b/configure.ac Tue Jun 28 19:05:38 2016 +0100 @@ -169,10 +169,12 @@ PKG_CHECK_MODULES(SETUP,[whelk razor >= 0.5.4 expat >= 2.1 zlib gio-2.0],[:], [PKG_CHECK_MODULES(SETUP,[whelk razor >= 0.5.4 expat21 zlib gio-2.0])]) if test -n "$host_mingw"; then - # Hack: -liconv is required for mingw. This probably stems from our use of + # Hacks: + # -liconv is required for mingw. This probably stems from our use of # libiconv rather than win-iconv that Fedora uses, but should be addressed # somewhere in the stack below us. - SETUP_LIBS="$SETUP_LIBS -liconv" + # -ldnsapi is required by gio. This probably represents a gio bug. + SETUP_LIBS="$SETUP_LIBS -liconv -ldnsapi" fi PKG_CONFIG="$save_PKG_CONFIG" SETUP_CFLAGS="$SETUP_CFLAGS $LUA_POSIX_CFLAGS"