Deb: libcurl4 in bionic+/buster+

Otherwise fall back to libcurl3
This commit is contained in:
Daniel Black 2020-03-17 15:10:46 +11:00 committed by Vicențiu-Marian Ciorbaru
parent 718f18599a
commit 2e0a40bdf0
2 changed files with 7 additions and 1 deletions

View file

@ -89,6 +89,12 @@ then
echo "usr/bin/sst_dump" >> debian/mariadb-plugin-rocksdb.install echo "usr/bin/sst_dump" >> debian/mariadb-plugin-rocksdb.install
fi fi
# From Debian Buster/Ubuntu Bionic, libcurl4 replaces libcurl3.
if ! apt-cache madison libcurl4 | grep 'libcurl4' >/dev/null 2>&1
then
sed 's/libcurl4/libcurl3/g' -i debian/control
fi
# The binaries should be fully hardened by default. However TokuDB compilation seems to fail on # The binaries should be fully hardened by default. However TokuDB compilation seems to fail on
# Debian Jessie and older and on Ubuntu Xenial and older with the following error message: # Debian Jessie and older and on Ubuntu Xenial and older with the following error message:
# /usr/bin/ld.bfd.real: /tmp/ccOIwjFo.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol # /usr/bin/ld.bfd.real: /tmp/ccOIwjFo.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol

2
debian/control vendored
View file

@ -13,7 +13,7 @@ Build-Depends: bison,
libaio-dev [linux-any], libaio-dev [linux-any],
libboost-dev, libboost-dev,
libcrack2-dev (>= 2.9.0), libcrack2-dev (>= 2.9.0),
libcurl3-dev, libcurl4-dev,
libjemalloc-dev (>= 3.0.0~) [linux-any], libjemalloc-dev (>= 3.0.0~) [linux-any],
libjudy-dev, libjudy-dev,
libkrb5-dev, libkrb5-dev,