Skip to content

Commit

Permalink
Add -stdlib=libstdc++ to cc-options as it's needed on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaskoff committed Nov 28, 2017
1 parent e205336 commit f7fe6e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wxc/wxc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,10 @@ library

if impl(ghc >= 8)
cc-options: "-std=gnu++14" -Wno-deprecated-declarations


if os(darwin)
cc-options: "-stdlib=libstdc++"

x-dll-name: wxc

x-dll-extra-libraries:
Expand Down

0 comments on commit f7fe6e1

Please sign in to comment.