From ffd6fdd84373497e9baf99d2ce078dbe362be6dd Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Fri, 13 Nov 2020 19:51:00 +0100 Subject: Remove unnecessary paths from LD_LIBRARY_PATH --- scripts/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit 1.4.1-3-g733a5