From 3670bf182097293bbf82abb39131735d86b572e0 Mon Sep 17 00:00:00 2001 From: Raoul Strackx Date: Thu, 20 Jul 2023 14:31:56 +0200 Subject: [PATCH] Fix `dump-ice-to-disk` and `short-ice` tests when librustc-driver is dynamically linked --- tests/run-make/dump-ice-to-disk/Makefile | 1 + tests/run-make/short-ice/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/run-make/dump-ice-to-disk/Makefile b/tests/run-make/dump-ice-to-disk/Makefile index 4f33d590237b3..23006fc09e2f3 100644 --- a/tests/run-make/dump-ice-to-disk/Makefile +++ b/tests/run-make/dump-ice-to-disk/Makefile @@ -3,6 +3,7 @@ include ../tools.mk # ignore-windows export RUSTC := $(RUSTC_ORIGINAL) +export LD_LIBRARY_PATH := $(HOST_RPATH_DIR) export TMPDIR := $(TMPDIR) all: diff --git a/tests/run-make/short-ice/Makefile b/tests/run-make/short-ice/Makefile index 4f33d590237b3..23006fc09e2f3 100644 --- a/tests/run-make/short-ice/Makefile +++ b/tests/run-make/short-ice/Makefile @@ -3,6 +3,7 @@ include ../tools.mk # ignore-windows export RUSTC := $(RUSTC_ORIGINAL) +export LD_LIBRARY_PATH := $(HOST_RPATH_DIR) export TMPDIR := $(TMPDIR) all: