Skip to content

Commit 9e2e753

Browse files
committed
build: Always define ZMQ_STATIC for MinGW
1 parent eac65d9 commit 9e2e753

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

configure.ac

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,21 +1351,21 @@ else
13511351
AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions])
13521352
fi
13531353

1354-
if test "x$use_zmq" = "xyes"; then
1355-
dnl Assume libzmq was built for static linking
1356-
case $host in
1357-
*mingw*)
1358-
ZMQ_CFLAGS="$ZMQ_CFLAGS -DZMQ_STATIC"
1359-
;;
1360-
esac
1361-
fi
1362-
13631354
if test x$use_qr != xno; then
13641355
BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
13651356
BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
13661357
fi
13671358
fi
13681359

1360+
if test "x$use_zmq" = xyes; then
1361+
dnl Assume libzmq was built for static linking
1362+
case $host in
1363+
*mingw*)
1364+
ZMQ_CFLAGS="$ZMQ_CFLAGS -DZMQ_STATIC"
1365+
;;
1366+
esac
1367+
fi
1368+
13691369
dnl univalue check
13701370

13711371
need_bundled_univalue=yes

0 commit comments

Comments
 (0)