about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-11-13 19:51:00 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2020-11-13 19:51:00 +0100
commitffd6fdd84373497e9baf99d2ce078dbe362be6dd (patch)
tree371db3acc75d6295f36d5ac3e7c0f21e15c651bd
parentc982c48579a552f6a58ba80595616c6dee0a59e9 (diff)
downloadrust-ffd6fdd84373497e9baf99d2ce078dbe362be6dd.tar.gz
rust-ffd6fdd84373497e9baf99d2ce078dbe362be6dd.zip
Remove unnecessary paths from LD_LIBRARY_PATH
-rw-r--r--scripts/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index aaacd57a4af..dea037e2bc0 100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -53,7 +53,7 @@ if [[ $(uname) == 'Darwin' ]]; then
    export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
 fi
 
-export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$dir/target/out:$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib"
+export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib"
 export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 
 export CG_CLIF_DISPLAY_CG_TIME=1