git.iko.soy/typeable/pandoc
on master help sign in
Remove 'static' flag.

This isn't really necessary and can be misleading (e.g. on macOS, where a fully static build isn't possible). cabal's new option `--enable-executable-static` does the same. On stack you can add something like this to the options for your executable in package.yaml: ld-options: -static -pthread

commit3f278f580e82670999b2bc8e6f10001b792c574c authorJohn MacFarlane <jgm@berkeley.edu> dateWed 18 Nov 2020, 21:08 (6 years ago) parent7fa4d36
2 files changed−10
pandoc.cabal−9 stack.yaml−1
pandoc.cabal−9
@@ -376,10 +376,6 @@ source-repository head
376376 type: git
377377 location: git://github.com/jgm/pandoc.git
378378
379−flag static
380− Description: Use static linking for pandoc executable.
381− Default: False
382−
383379flag embed_data_files
384380 Description: Embed data files in binary for relocatable executable.
385381 Default: False
@@ -681,11 +677,6 @@ executable pandoc
681677 hs-source-dirs: prelude
682678 other-modules: Prelude
683679 build-depends: base-compat >= 0.9
684− if flag(static)
685− ld-options: -static
686− -- fully static builds are not possible on macos:
687− if os(darwin)
688− buildable: False
689680 default-language: Haskell2010
690681 other-extensions: NoImplicitPrelude
691682 hs-source-dirs: .
stack.yaml−1
@@ -2,7 +2,6 @@ flags:
22 pandoc:
33 trypandoc: false
44 embed_data_files: true
5− static: false
65packages:
76- '.'
87extra-deps: