diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-03-10 09:16:24 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-03-10 09:29:13 +0300 |
| commit | f25809d2d33e1141d73487e55fe155f41762aef3 (patch) | |
| tree | 8e8f88744cba5d4c7e75763691df4c1797e390bb | |
| parent | 4d4bb491b65c300835442f6cb4f34fc9a5685c26 (diff) | |
| download | rust-f25809d2d33e1141d73487e55fe155f41762aef3.tar.gz rust-f25809d2d33e1141d73487e55fe155f41762aef3.zip | |
fix `long-linker-command-lines` failure caused by `rust.rpath=false`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
| -rw-r--r-- | tests/run-make/long-linker-command-lines/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/long-linker-command-lines/Makefile b/tests/run-make/long-linker-command-lines/Makefile index f864ea74f4a..b573038e344 100644 --- a/tests/run-make/long-linker-command-lines/Makefile +++ b/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) |
