Don't allow macos builds with 'static' flag.

Closes #6771.
This commit is contained in:
John MacFarlane 2020-11-18 15:38:50 -08:00
parent 023468ea2d
commit 46bbdad838

View file

@ -683,6 +683,9 @@ executable pandoc
build-depends: base-compat >= 0.9
if flag(static)
ld-options: -static
-- fully static builds are not possible on macos:
if os(darwin)
buildable: False
default-language: Haskell2010
other-extensions: NoImplicitPrelude
hs-source-dirs: .