pandoc.cabal: use cpphs if embed_data_files and darwin.
This commit is contained in:
parent
1e694805a1
commit
7b6273362a
1 changed files with 3 additions and 0 deletions
|
@ -320,6 +320,9 @@ Library
|
|||
cpp-options: -DEMBED_DATA_FILES
|
||||
Build-Tools: hsb2hs >= 0.3.1
|
||||
other-modules: Text.Pandoc.Data
|
||||
if os(darwin)
|
||||
Build-Tools: cpphs >= 1.19
|
||||
ghc-options: -pgmP cpphs -optP --cpp
|
||||
if os(windows)
|
||||
Cpp-options: -D_WINDOWS
|
||||
Ghc-Options: -Wall -fno-warn-unused-do-bind
|
||||
|
|
Loading…
Add table
Reference in a new issue