toaruos/toolchain/activate.sh
2015-02-09 23:42:13 -08:00

10 lines
267 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $DIR/config.sh
export PATH="$DIR/local/bin:$PATH"
export PKG_CONFIG_LIBDIR="$TOARU_SYSROOT/usr/lib/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR="$TOARU_SYSROOT"
export TOOLCHAIN="$TOARU_SYSROOT/usr"