about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-01-21 15:20:48 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-01-21 16:14:32 +0100
commit9bf5cb43aba913b18d08efaf451a7f3974cc65c8 (patch)
treede82ec9aaf884a97a597d3060ed64c43349e3a9a /scripts
parent7f60301a7a2f851736ea47954a30d3ef1b723a6e (diff)
downloadrust-9bf5cb43aba913b18d08efaf451a7f3974cc65c8.tar.gz
rust-9bf5cb43aba913b18d08efaf451a7f3974cc65c8.zip
Fix indirectly linking to libstd.so with the JIT
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index d3c0885b3fa..fe6d86ea6b4 100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -53,6 +53,6 @@ if [[ $(uname) == 'Darwin' ]]; then
    export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
 fi
 
-export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib"
+export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:"$dir"/lib"
 export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH