diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-21 15:20:48 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-21 16:14:32 +0100 |
| commit | 9bf5cb43aba913b18d08efaf451a7f3974cc65c8 (patch) | |
| tree | de82ec9aaf884a97a597d3060ed64c43349e3a9a /scripts | |
| parent | 7f60301a7a2f851736ea47954a30d3ef1b723a6e (diff) | |
| download | rust-9bf5cb43aba913b18d08efaf451a7f3974cc65c8.tar.gz rust-9bf5cb43aba913b18d08efaf451a7f3974cc65c8.zip | |
Fix indirectly linking to libstd.so with the JIT
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/config.sh | 2 |
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 |
