Skip to content

Commit 48471ef

Browse files
authored
Unrolled build for rust-lang#122270
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
2 parents 4c1b9c3 + f25809d commit 48471ef

File tree

1 file changed

+2
-0
lines changed
  • tests/run-make/long-linker-command-lines

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ignore-cross-compile
22
include ../tools.mk
33

4+
export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
5+
46
all:
57
$(RUSTC) foo.rs -g -O
68
RUSTC="$(RUSTC_ORIGINAL)" $(call RUN,foo)

0 commit comments

Comments
 (0)