From 46bbdad8383e84f4db7a03d5e5893c2a25ecce7a Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Wed, 18 Nov 2020 15:38:50 -0800 Subject: [PATCH] Don't allow macos builds with 'static' flag. Closes #6771. --- pandoc.cabal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandoc.cabal b/pandoc.cabal index 7db8f1196..180751d4d 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -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: .