configure.ac
changeset 51 ea1c42c3a780
parent 43 6b3034a884dc
child 52 ac72889393d1
     1.1 --- a/configure.ac	Thu Jun 16 18:00:21 2016 +0100
     1.2 +++ b/configure.ac	Tue Jun 28 19:05:38 2016 +0100
     1.3 @@ -169,10 +169,12 @@
     1.4  PKG_CHECK_MODULES(SETUP,[whelk razor >= 0.5.4 expat >= 2.1 zlib gio-2.0],[:],
     1.5    [PKG_CHECK_MODULES(SETUP,[whelk razor >= 0.5.4 expat21 zlib gio-2.0])])
     1.6  if test -n "$host_mingw"; then
     1.7 -    # Hack: -liconv is required for mingw. This probably stems from our use of
     1.8 +    # Hacks:
     1.9 +    # -liconv is required for mingw. This probably stems from our use of
    1.10      # libiconv rather than win-iconv that Fedora uses, but should be addressed
    1.11      # somewhere in the stack below us.
    1.12 -    SETUP_LIBS="$SETUP_LIBS -liconv"
    1.13 +    # -ldnsapi is required by gio. This probably represents a gio bug.
    1.14 +    SETUP_LIBS="$SETUP_LIBS -liconv -ldnsapi"
    1.15  fi
    1.16  PKG_CONFIG="$save_PKG_CONFIG"
    1.17  SETUP_CFLAGS="$SETUP_CFLAGS $LUA_POSIX_CFLAGS"