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). (cherry picked from commit 34e0fa96)
Showing
- aclocal.m4 24 additions, 17 deletionsaclocal.m4
- compiler/main/SysTools/Settings.hs 1 addition, 1 deletioncompiler/main/SysTools/Settings.hs
- configure.ac 2 additions, 0 deletionsconfigure.ac
- hadrian/cfg/system.config.in 5 additions, 4 deletionshadrian/cfg/system.config.in
- hadrian/src/Builder.hs 1 addition, 1 deletionhadrian/src/Builder.hs
- mk/config.mk.in 10 additions, 0 deletionsmk/config.mk.in
- rules/build-package-way.mk 2 additions, 1 deletionrules/build-package-way.mk
Please register or sign in to comment