Fix compilation errors caused by changes in PGF2

These prevented GF from being built with C run-time support (-fc-runtime).
This commit is contained in:
hallgren
2017-02-21 13:21:59 +00:00
parent 94f41cc63d
commit ae512e09e0
3 changed files with 9 additions and 7 deletions

View File

@@ -136,11 +136,11 @@ Library
if flag(c-runtime)
exposed-modules: PGF2
other-modules: PGF2.FFI PGF2.Expr
other-modules: PGF2.FFI PGF2.Expr PGF2.Type
GF.Interactive2 GF.Command.Commands2
hs-source-dirs: src/runtime/haskell-bind
build-tools: hsc2hs
extra-libraries: gu pgf
extra-libraries: pgf gu
c-sources: src/runtime/haskell-bind/utils.c
cc-options: -std=c99