added LD_LIBRARY_PATH exports to fix rustc issues on Fedora

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-08-01 07:22:11 +02:00
parent b7bb29250a
commit b4d76b6810
2 changed files with 4 additions and 0 deletions

3
.zshrc
View file

@ -54,3 +54,6 @@ export RUST_SRC_PATH=$HOME/dev/rust/src
export EDITOR="vim" export EDITOR="vim"
export KEYTIMEOUT=1 export KEYTIMEOUT=1
#temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

View file

@ -55,6 +55,7 @@ fc-cache
#rust #rust
echo "installing rust" echo "installing rust"
curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
cd "$DIR/.vim/bundle/racer/" cd "$DIR/.vim/bundle/racer/"
cargo build cargo build
cd "$DIR/../" cd "$DIR/../"