summaryrefslogtreecommitdiff
path: root/compiler/GHC
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-08-09 09:35:47 -0400
committerBen Gamari <ben@smart-cactus.org>2020-09-03 19:55:29 -0400
commit34e0fa963f35a77093fc7111a80c557fc6bd614f (patch)
tree4b1df23ca2cb1b80fe2bc73b6c0a028e601e0b80 /compiler/GHC
parent4891c18a49876958b44e50dc6e2f24326d92052f (diff)
downloadhaskell-wip/T18550.tar.gz
configure: Avoid hard-coded ld path on Windowswip/T18550
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 'compiler/GHC')
-rw-r--r--compiler/GHC/Settings/IO.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Settings/IO.hs b/compiler/GHC/Settings/IO.hs
index b5defa0ee2..82f0b6b2d9 100644
--- a/compiler/GHC/Settings/IO.hs
+++ b/compiler/GHC/Settings/IO.hs
@@ -137,7 +137,7 @@ initSettings top_dir = do
as_args = map Option cc_args
ld_prog = cc_prog
ld_args = map Option (cc_args ++ words cc_link_args_str)
- ld_r_prog <- getSetting "Merge objects command"
+ ld_r_prog <- getToolSetting "Merge objects command"
ld_r_args <- getSetting "Merge objects flags"
llvmTarget <- getSetting "LLVM target"