mlibc/scripts/abi-link.sh
2020-08-29 12:31:13 +02:00

13 lines
276 B
Bash
Executable file

#!/bin/bash
# USAGE: put files and ports in the arrays below and export the abi you want to use
declare -a files=()
declare -a ports=()
for file in "${files[@]}"; do
for port in "${ports[@]}"; do
ln -rs abis/$abi/$file sysdeps/$port/include/abi-bits/$file
done
done