Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (13 sloc) 436 Bytes
#!/bin/bash
targets="arm-linux-gnueabihf x86_64-linux-android armv7-linux-androideabi aarch64-linux-android x86_64-apple-ios aarch64-apple-ios"
commands="clang ld ld.gold nm ar ranlib cabal"
for target in $targets; do
for command in $commands; do
ln -s wrapper $target-$command
done
# create libtool wrapper for non apple platforms
case "$target" in
*-apple-*) continue;;
*) ln -s libtool-lite $target-libtool;;
esac
done