15 lines
303 B
Bash
Executable File
15 lines
303 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
EMERALD_SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
|
source "$EMERALD_SCRIPT_DIR"/common.sh
|
|
|
|
cd "$PREFIX"
|
|
|
|
# Fix rust builds
|
|
echo "INPUT(-lc)" > lib/gcc/aarch64-linux-android/11.3.0/libgcc.a
|
|
|
|
# Install helper scripts
|
|
install -Dm755 -t bin "$EMERALD_SCRIPT_DIR"/bin/*
|