summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-02-05 23:13:15 -0500
committerBen Gamari <ben@smart-cactus.org>2022-02-09 18:35:01 -0500
commitd9b0c1b2a30556aea8e4bf0a8648dd1d32a656fa (patch)
treec2f81dbc62bebe13ff31e100ef95384ee829cd00
parent8cc36ace847a55388b7118b82623a6a57a6ad44f (diff)
downloadhaskell-d9b0c1b2a30556aea8e4bf0a8648dd1d32a656fa.tar.gz
Move msvcrt dep out of base
-rw-r--r--libraries/base/base.cabal4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index e9dca267ce..6b416f46a0 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -369,8 +369,6 @@ Library
if os(windows)
-- Windows requires some extra libraries for linking because the RTS
-- is no longer re-exporting them.
- -- msvcrt: standard C library. The RTS will automatically include this,
- -- but is added for completeness.
-- mingwex: provides C99 compatibility. libm is a stub on MingW.
-- mingw32: Unfortunately required because of a resource leak between
-- mingwex and mingw32. the __math_err symbol is defined in
@@ -383,7 +381,7 @@ Library
-- kernel32: provides GetConsoleCP
-- advapi32: provides advanced kernel functions
extra-libraries:
- wsock32, user32, shell32, msvcrt, mingw32, kernel32, advapi32,
+ wsock32, user32, shell32, mingw32, kernel32, advapi32,
mingwex, ws2_32, shlwapi, ole32, rpcrt4, ntdll
-- Minimum supported Windows version.
-- These numbers can be found at: