add libc6-dev to aarch64 build

This commit is contained in:
finn 2022-12-13 16:02:31 -08:00
parent 650efe87f4
commit 270aff0ef6

View file

@ -8,7 +8,7 @@ apt-get install -y git clang libclang-dev cmake make
PACKAGES=("git" "clang" "libclang-dev" "cmake" "make") PACKAGES=("git" "clang" "libclang-dev" "cmake" "make")
case "${TARGET}" in case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl) aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu libc6-dev-arm64-cross
;; ;;
arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi) arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi)
apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi