summaryrefslogtreecommitdiffstats
path: root/debian/patches/u-make-tests-work-without-rpath.patch
blob: 97cd892332e666695167bc68e78f05e4e8ecac89 (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/src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile b/src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
index 1e267fb..ac46c24 100644
--- a/src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
+++ b/src/test/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