@@ -16,9 +16,9 @@ cabal-version: >= 1.2
16build-type: Simple
16build-type: Simple
17homepage: http://github.com/snoyberg/yaml/
17homepage: http://github.com/snoyberg/yaml/
18extra-source-files: c/helper.h,
18extra-source-files: c/helper.h,
19− c/yaml_private.h,
19+ libyaml/yaml_private.h,
20− c/yaml.h,
20+ libyaml/yaml.h,
21− c/LICENSE
21+ libyaml/LICENSE
24 description: Skip building the library
24 description: Skip building the library
@@ -38,16 +38,17 @@ library
38 , enumerator >= 0.4 && < 0.5
38 , enumerator >= 0.4 && < 0.5
39 exposed-modules: Text.Libyaml
39 exposed-modules: Text.Libyaml
40 ghc-options: -Wall
40 ghc-options: -Wall
41− c-sources: c/helper.c,
41+ c-sources: c/helper.c
50 include-dirs: c
42 include-dirs: c
43+ c-sources: libyaml/api.c,
51+ include-dirs: libyaml
52executable runtests
53executable runtests
53 if flag(buildtests)
54 if flag(buildtests)
@@ -65,14 +66,15 @@ executable runtests
66 Buildable: False
67 Buildable: False
67 ghc-options: -Wall
68 ghc-options: -Wall
68− c-sources: c/helper.c,
69+ c-sources: c/helper.c
77 include-dirs: c
70 include-dirs: c
71+ c-sources: libyaml/api.c,
79+ include-dirs: libyaml
78 main-is: runtests.hs
80 main-is: runtests.hs