Skip to content

Commit

Permalink
Unrolled build for rust-lang#122270
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#122270 - onur-ozkan:fix-rmake-test-with-rpath-false, r=Mark-Simulacrum

fix `long-linker-command-lines` failure caused by `rust.rpath=false`

Fixes `long-linker-command-lines` test failure (which happens when `rust.rpath` is set to `false`) by adjusting `LD_LIBRARY_PATH`.

Fixes rust-lang#90921
  • Loading branch information
rust-timer committed Mar 17, 2024
2 parents 4c1b9c3 + f25809d commit 48471ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/run-make/long-linker-command-lines/Makefile
@@ -1,6 +1,8 @@
# ignore-cross-compile
include ../tools.mk

export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)

all:
$(RUSTC) foo.rs -g -O
RUSTC="$(RUSTC_ORIGINAL)" $(call RUN,foo)

0 comments on commit 48471ef

Please sign in to comment.