diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-09 17:33:08 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-13 19:59:18 +0300 |
commit | 9e2e753b0605c8cd826381a362f0c7de56eea81f (patch) | |
tree | f0b4e0e8ada58e8dbe5c48a1380250c037b0b53a | |
parent | eac65d99ddb27061e6ae0f9448887db86e2c0734 (diff) | |
download | bitcoin-9e2e753b0605c8cd826381a362f0c7de56eea81f.tar.xz |
build: Always define ZMQ_STATIC for MinGW
-rw-r--r-- | configure.ac | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 0218bf3022..b1cdc01080 100644 --- a/configure.ac +++ b/configure.ac @@ -1351,21 +1351,21 @@ else AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions]) fi - if test "x$use_zmq" = "xyes"; then - dnl Assume libzmq was built for static linking - case $host in - *mingw*) - ZMQ_CFLAGS="$ZMQ_CFLAGS -DZMQ_STATIC" - ;; - 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 +if test "x$use_zmq" = xyes; then + dnl Assume libzmq was built for static linking + case $host in + *mingw*) + ZMQ_CFLAGS="$ZMQ_CFLAGS -DZMQ_STATIC" + ;; + esac +fi + dnl univalue check need_bundled_univalue=yes |