diff options
-rw-r--r-- | libraries/base/base.cabal | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal index 85714bf05f..a43055c11a 100644 --- a/libraries/base/base.cabal +++ b/libraries/base/base.cabal @@ -440,6 +440,12 @@ Library System.CPUTime.Posix.RUsage System.CPUTime.Unsupported + -- The Ports framework always passes this flag when building software that + -- uses iconv to make iconv from Ports compatible with iconv from the base system + -- See /usr/ports/Mk/Uses/iconv.mk + if os(freebsd) + cc-options: -DLIBICONV_PLUG + -- We need to set the unit id to base (without a version number) -- as it's magic. ghc-options: -this-unit-id base |