Skip to content

Commit

Permalink
Eliminate redundant dependency on libgcc_s on Windows
Browse files Browse the repository at this point in the history
This dependency causes an unnecessary dynamic dependency on Windows,
resulting in GHC #21196.

Fixes #497.
  • Loading branch information
bgamari authored and hasufell committed Mar 12, 2022
1 parent 05487ed commit b5e2a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bytestring.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ library
-- * https://gitlab.haskell.org/ghc/ghc/-/issues/20525#note_385580
-- * https://gitlab.haskell.org/ghc/ghc/-/issues/19417
if os(windows)
extra-libraries: gcc_s gcc
extra-libraries: gcc

include-dirs: include
includes: fpstring.h
Expand Down

0 comments on commit b5e2a22

Please sign in to comment.