]> git.lizzy.rs Git - rust.git/blob - scripts/config.sh
Rewrite cargo.sh in rust
[rust.git] / scripts / config.sh
1 # Note to people running shellcheck: this file should only be sourced, not executed directly.
2
3 set -e
4
5 dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/../build"; pwd)
6 export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:"$dir"/lib"
7 export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH