message: build: Always define ZMQ_STATIC for MinGW
diff: @@ -1361,7 +1361,13 @@ else
  AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions])
  fi
  - if test "x$use_zmq" = "xyes"; then
  + if test x$use_qr != xno; then
  + BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
  + BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
  + fi
  +fi
  +
  +if test "x$use_zmq" = xyes; then
  dnl Assume libzmq was built for static linking
  case $host in
  *mingw*)
  @@ -1370,12 +1376,6 @@ else
  esac
  fi
  - if test x$use_qr != xno; then
  - BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
  - BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
  - fi
  -fi
  -
  dnl univalue check
  need_bundled_univalue=yes
  