Skip to content

Commit cbc07b1

Browse files
committed
Fix: Fix multiplatform build of SASL2
1 parent 0e25ca0 commit cbc07b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build-scripts/sasl-build.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ setup_python_venv() {
3636
[ -f /etc/lsb-release ] && . /etc/lsb-release
3737
[ -f /etc/os-release ] && . /etc/os-release
3838
if [ -f /etc/alpine-release ]; then
39-
apk add --upgrade --virtual .build-deps git cmake clang make gcc g++ libc-dev pkgconfig curl-dev jsoncpp-dev cyrus-sasl-dev patch
39+
LIBS="git cmake clang make gcc g++ libc-dev pkgconfig curl-dev jsoncpp-dev cyrus-sasl-dev patch rust cargo libffi-dev python3-dev"
40+
apk add --upgrade --virtual .build-deps ${LIBS}
4041
build_sasl2
4142
setup_python_venv
4243
apk del .build-deps;
4344
else
4445
apt-get update -y -qq
45-
LIBS="git build-essential cmake pkg-config libcurl4-openssl-dev libssl-dev libjsoncpp-dev libsasl2-dev"
46+
LIBS="git build-essential cmake pkg-config libcurl4-openssl-dev libssl-dev libjsoncpp-dev libsasl2-dev rustc cargo rustfmt python3-dev"
4647
apt-get install -y --no-install-recommends ${LIBS}
4748
build_sasl2
4849
apt-get install -y --no-install-recommends python3-venv

0 commit comments

Comments
 (0)