Skip to content

Commit

Permalink
Use new boost only moving forward
Browse files Browse the repository at this point in the history
  • Loading branch information
liaralabs committed May 11, 2024
1 parent ea2804e commit c3a5423
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sources/functions/libtorrent
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,14 @@ function cleanup_repo_libtorrent() {
}

function booststrap() {
BOOST_VERSION=1_85_0
case $(_os_codename) in
buster | focal | bullseye | jammy)
BOOST_VERSION=1_75_0
;;
*)
BOOST_VERSION=1_85_0
;;
esac
export BOOST_ROOT=/opt/boost_${BOOST_VERSION}
export BOOST_INCLUDEDIR=${BOOST_ROOT}
export BOOST_BUILD_PATH=${BOOST_ROOT}
Expand Down

0 comments on commit c3a5423

Please sign in to comment.