Skip to content

Commit

Permalink
Rollup merge of rust-lang#122270 - onur-ozkan:fix-rmake-test-with-rpa…
Browse files Browse the repository at this point in the history
…th-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
fmease authored Mar 16, 2024
2 parents 0995508 + f25809d commit c2b7d77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/run-make/long-linker-command-lines/Makefile
Original file line number Diff line number Diff line change
@@ -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 c2b7d77

Please sign in to comment.