aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-10-13 12:22:02 +0800
committerfanquake <fanquake@gmail.com>2020-10-16 08:06:14 +0800
commit6957419a28ec3a129177fbdabcae48889a8bbab0 (patch)
tree20d8ad8561b1ef6226516ee14347f24600fe5830
parent27bb2cc3b6053f94b38934748127bc73f87618ad (diff)
downloadbitcoin-6957419a28ec3a129177fbdabcae48889a8bbab0.tar.xz
build: set minimum required Boost to 1.48.0
Due to the use of boost::filesystem::canonical(), the minimum required version of Boost is actually 1.48.0. Use of canonical was introduced in #14146. See also Boost filesystem 1.48.0 release notes: https://github.com/boostorg/filesystem/blob/6b5e38134a336b6ea777cd8a69b6ae929819db7e/doc/release_history.html#L508 Github-Pull: #20142 Rebased-From: 3562c15be3dbf725197d719d58c8d78e2f2c6779
-rw-r--r--configure.ac2
-rw-r--r--doc/dependencies.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ad6de55561..dd49c2f672 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1055,7 +1055,7 @@ fi
if test x$use_boost = xyes; then
dnl Minimum required Boost version
-define(MINIMUM_REQUIRED_BOOST, 1.47.0)
+define(MINIMUM_REQUIRED_BOOST, 1.48.0)
dnl Check for boost libs
AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST])
diff --git a/doc/dependencies.md b/doc/dependencies.md
index ae3d26839f..f814f07c14 100644
--- a/doc/dependencies.md
+++ b/doc/dependencies.md
@@ -6,7 +6,7 @@ These are the dependencies currently used by Bitcoin Core. You can find instruct
| Dependency | Version used | Minimum required | CVEs | Shared | [Bundled Qt library](https://doc.qt.io/qt-5/configure-options.html#third-party-libraries) |
| --- | --- | --- | --- | --- | --- |
| Berkeley DB | [4.8.30](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html) | 4.8.x | No | | |
-| Boost | [1.70.0](https://www.boost.org/users/download/) | [1.47.0](https://github.com/bitcoin/bitcoin/pull/8920) | No | | |
+| Boost | [1.70.0](https://www.boost.org/users/download/) | [1.48.0](https://github.com/bitcoin/bitcoin/pull/20142) | No | | |
| Clang | | [3.3+](https://releases.llvm.org/download.html) (C++11 support) | | | |
| Expat | [2.2.7](https://libexpat.github.io/) | | No | Yes | |
| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) | | No | Yes | |