diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-11-13 19:48:49 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-11-13 19:48:49 +0100 |
| commit | c982c48579a552f6a58ba80595616c6dee0a59e9 (patch) | |
| tree | 006c9d77847e0f4a2fb3653996db9d253f347865 /scripts | |
| parent | bf94b3819ca8bd6574d0459690c247197723b9d1 (diff) | |
| download | rust-c982c48579a552f6a58ba80595616c6dee0a59e9.tar.gz rust-c982c48579a552f6a58ba80595616c6dee0a59e9.zip | |
Use rpath to compile the cg_clif executable
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 1ac6bf265b4..aaacd57a4af 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="$dir/lib:$(rustc --print sysroot)/lib:$dir/target/out:$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib" +export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$dir/target/out:$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib" export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH export CG_CLIF_DISPLAY_CG_TIME=1 |
