mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 15:02:30 +02:00
build: Always define ZMQ_STATIC for MinGW
This commit is contained in:
18
configure.ac
18
configure.ac
@@ -1351,21 +1351,21 @@ else
|
|||||||
AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions])
|
AC_DEFINE_UNQUOTED([ENABLE_ZMQ],[0],[Define to 1 to enable ZMQ functions])
|
||||||
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
|
|
||||||
|
|
||||||
if test x$use_qr != xno; 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_LIB([qrencode], [main],[QR_LIBS=-lqrencode], [have_qrencode=no])])
|
||||||
BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
|
BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
|
||||||
fi
|
fi
|
||||||
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
|
dnl univalue check
|
||||||
|
|
||||||
need_bundled_univalue=yes
|
need_bundled_univalue=yes
|
||||||
|
Reference in New Issue
Block a user