From 5c3f5210700d757751c15bb450bf82e615cc244e Mon Sep 17 00:00:00 2001 From: finn Date: Tue, 13 Dec 2022 17:51:56 -0800 Subject: [PATCH] idk --- prepare-env.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/prepare-env.sh b/prepare-env.sh index f5fb52a..426ab6b 100755 --- a/prepare-env.sh +++ b/prepare-env.sh @@ -8,17 +8,19 @@ apt-get install -y git clang libclang-dev cmake make PACKAGES=("git" "clang" "libclang-dev" "cmake" "make") case "${TARGET}" in aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl) - apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu libc6-dev-arm64-cross + apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-aarch64-linux-gnu linux-libc-dev-arm64-cross ;; 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 linux-libc-dev-armel-cross ;; arm-unknown-linux-gnueabihf|arm-unknown-linux-musleabihf) - apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf + apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armhf-cross ;; armv7-unknown-linux-gnueabihf|armv7-unknown-linux-musleabihf) - apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf + apt-get install -y "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabihf linux-libc-dev-armel-cross ;; + x86_64-unknown-linux-musl) + apt-get install -y "${PACKAGES[@]}" musl-tools *) apt-get install -y "${PACKAGES[@]}" ;;