From 5f274fbfd4188dda2e7d74d374f2105db22c5610 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 19 Oct 2021 16:02:51 -0400 Subject: hadrian: Fix binary-dist support for cross-compilers Previously the logic which called ghc-pkg failed to account for the fact that the executable name may be prefixed with a triple. Moreover, the call must occur before we delete the settings file as ghc-pkg needs the latter. Fixes #20267. --- distrib/configure.ac.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distrib/configure.ac.in') diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index 7a29369000..d3aee52220 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -50,7 +50,7 @@ FP_FIND_ROOT # ToDo: if Stage1Only=YES, should be YES CrossCompiling=NO -CrossCompilePrefix="" +CrossCompilePrefix="@CrossCompilePrefix@" TargetPlatformFull="${target}" TablesNextToCode="@TablesNextToCode@" -- cgit v1.2.1