mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-15 00:47:47 +01:00
12 lines
409 B
Bash
Executable File
12 lines
409 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then
|
|
apt-get -y install gcc-multilib g++-multilib
|
|
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then
|
|
echo "Building for aarch64"
|
|
apt-get -qq update
|
|
apt-get -y install crossbuild-essential-arm64 libsqlcipher-dev:arm64 libssl-dev:arm64 libsecret-1-dev:arm64
|
|
rustup target add aarch64-unknown-linux-gnu
|
|
mv /dockerbuild/aarch64/.cargo .
|
|
fi
|