summaryrefslogtreecommitdiff
path: root/hadrian/cfg/system.config.in
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-08-09 09:35:47 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-09-04 22:26:25 -0400
commit07bdcac38c90e79db9e4327f87c5400630dfe74b (patch)
treef8a20b2a435bc58c03356efd293fe939ddb9b58f /hadrian/cfg/system.config.in
parentc1e54439be3d38a1f972ac772cca7eec5e1519a9 (diff)
downloadhaskell-07bdcac38c90e79db9e4327f87c5400630dfe74b.tar.gz
configure: Avoid hard-coded ld path on Windows
The fix to #17962 ended up regressing on Windows as it failed to replicate the logic responsible for overriding the toolchain paths on Windows. This resulted in a hard-coded path to a directory that likely doesn't exist on the user's system (#18550).
Diffstat (limited to 'hadrian/cfg/system.config.in')
-rw-r--r--hadrian/cfg/system.config.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/hadrian/cfg/system.config.in b/hadrian/cfg/system.config.in
index 5abcb96b7e..adc244fa7d 100644
--- a/hadrian/cfg/system.config.in
+++ b/hadrian/cfg/system.config.in
@@ -14,6 +14,7 @@ hs-cpp = @HaskellCPPCmd@
ld = @LdCmd@
make = @MakeCmd@
nm = @NmCmd@
+merge-objects = @MergeObjsCmd@
objdump = @ObjdumpCmd@
ranlib = @REAL_RANLIB_CMD@
sphinx-build = @SPHINXBUILD@
@@ -117,10 +118,10 @@ conf-ld-linker-args-stage1 = @CONF_LD_LINKER_OPTS_STAGE1@
conf-ld-linker-args-stage2 = @CONF_LD_LINKER_OPTS_STAGE2@
conf-ld-linker-args-stage3 = @CONF_LD_LINKER_OPTS_STAGE3@
-conf-merge-objects-args-stage0 = @SettingsMergeObjectsFlags@
-conf-merge-objects-args-stage1 = @SettingsMergeObjectsFlags@
-conf-merge-objects-args-stage2 = @SettingsMergeObjectsFlags@
-conf-merge-objects-args-stage3 = @SettingsMergeObjectsFlags@
+conf-merge-objects-args-stage0 = @MergeObjsArgs@
+conf-merge-objects-args-stage1 = @MergeObjsArgs@
+conf-merge-objects-args-stage2 = @MergeObjsArgs@
+conf-merge-objects-args-stage3 = @MergeObjsArgs@
# Settings: