Cross build use Boost 1.86 too

This commit is contained in:
c0re100 2024-12-21 16:03:32 +08:00
parent 5729ca516b
commit c40b8164d7
No known key found for this signature in database
GPG Key ID: 7C3B3004FE745AAF

View File

@ -256,7 +256,8 @@ prepare_ssl() {
}
prepare_boost() {
boost_ver="$(retry curl -ksSL --compressed https://www.boost.org/users/download/ \| grep "'>Version\s*'" \| sed -r "'s/.*Version\s*([^<]+).*/\1/'" \| head -1)"
# boost_ver="$(retry curl -ksSL --compressed https://www.boost.org/users/download/ \| grep "'>Version\s*'" \| sed -r "'s/.*Version\s*([^<]+).*/\1/'" \| head -1)"
boost_ver="1.86.0"
echo "Boost version ${boost_ver}"
if [ ! -f "/usr/src/boost-${boost_ver}/.unpack_ok" ]; then
boost_latest_url="https://sourceforge.net/projects/boost/files/boost/${boost_ver}/boost_${boost_ver//./_}.tar.bz2/download"