summaryrefslogtreecommitdiffstats
path: root/debian/patches/u-make-tests-work-without-rpath.patch
blob: edd2127a91e63d2a53ccafc63deba6c615c40d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Chris Coulson <chris.coulson@canonical.com>
Date: Thu, 14 Jul 2022 13:17:38 +0200
Subject: u-make-tests-work-without-rpath

Forwarded: TODO

===================================================================
---
 src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/run-make-fulldeps/sysroot-crates-are-unstable/Makefile b/tests/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
index 1e267fb..ac46c24 100644
--- a/tests/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
+++ b/tests/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
@@ -1,2 +1,6 @@
+include ../tools.mk
+
+RUSTC := $(RUSTC_ORIGINAL)
+
 all:
-	'$(PYTHON)' test.py
+	$(HOST_RPATH_ENV) '$(PYTHON)' test.py