mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
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 https://github.com/rust-lang/rust/issues/90921
This commit is contained in:
commit
c2b7d77d95
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user