aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-18 15:38:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-18 15:41:48 -0800
commit46bbdad8383e84f4db7a03d5e5893c2a25ecce7a (patch)
treebd8d3cf6d6b86480511a6339db4948cefe26fa8a
parent023468ea2d625516eb9ad6cef2240b2ac20091d4 (diff)
downloadpandoc-46bbdad8383e84f4db7a03d5e5893c2a25ecce7a.tar.gz
Don't allow macos builds with 'static' flag.
Closes #6771.
-rw-r--r--pandoc.cabal3
1 files changed, 3 insertions, 0 deletions
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: .