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-04-06 16:25:25 -0400
commit3247b7dbc6eab81c9fc02fbc385b69dc129fcdc6 (patch)
tree9a7e5da5ced828abf8047ced9269205a697831b7
parentf562b5cacae6a7ce8958fb5635856009f8833ea3 (diff)
downloadhaskell-3247b7dbc6eab81c9fc02fbc385b69dc129fcdc6.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 47a179df0e..e0cd8f4197 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -376,8 +376,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
@@ -390,7 +388,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: