Skip to content

Commit c2b7d77

Browse files
authored
Rollup merge of #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 #90921
2 parents 0995508 + f25809d commit c2b7d77

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)