aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-04-16 22:05:41 +0300
committerfanquake <fanquake@gmail.com>2020-05-20 10:36:41 +0800
commite422f65aee4b2a817b31bbd37c79d178570579df (patch)
tree592423c8e245849226276cbb96d40e4d561d63f1
parent0d0dd6ae96c6e12226bba07994394ae78f7cddc6 (diff)
downloadbitcoin-e422f65aee4b2a817b31bbd37c79d178570579df.tar.xz
build: Set libevent minimum version to 2.0.21
Github-Pull: #18676 Rebased-From: b68e71796792a9da9daa0a4e759d284d15595230
-rw-r--r--configure.ac4
-rw-r--r--doc/dependencies.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 0e8a0813ad..ad6de55561 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1237,9 +1237,9 @@ if test x$use_pkgconfig = xyes; then
BITCOIN_QT_CHECK([PKG_CHECK_MODULES([QR], [libqrencode], [have_qrencode=yes], [have_qrencode=no])])
fi
if test x$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$use_tests != xnononono; then
- PKG_CHECK_MODULES([EVENT], [libevent],, [AC_MSG_ERROR(libevent not found.)])
+ PKG_CHECK_MODULES([EVENT], [libevent >= 2.0.21],, [AC_MSG_ERROR(libevent version 2.0.21 or greater not found.)])
if test x$TARGET_OS != xwindows; then
- PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads],, [AC_MSG_ERROR(libevent_pthreads not found.)])
+ PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.0.21],, [AC_MSG_ERROR(libevent_pthreads version 2.0.21 or greater not found.)])
fi
fi
diff --git a/doc/dependencies.md b/doc/dependencies.md
index e5b4084d99..ae3d26839f 100644
--- a/doc/dependencies.md
+++ b/doc/dependencies.md
@@ -13,7 +13,7 @@ These are the dependencies currently used by Bitcoin Core. You can find instruct
| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) | | No | | |
| GCC | | [4.8+](https://gcc.gnu.org/) (C++11 support) | | | |
| HarfBuzz-NG | | | | | |
-| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No | | |
+| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | [2.0.21](https://github.com/bitcoin/bitcoin/pull/18676) | No | | |
| libpng | | | | | [Yes](https://github.com/bitcoin/bitcoin/blob/master/depends/packages/qt.mk) |
| librsvg | | | | | |
| MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) | | No | | |