on master help sign in
Using include and include-dirs directives in cabal
commit0fc4abd01872a7efeaccbd7d00351408f8e80613 authorMichael Snoyman <michael@snoyman.com> dateMon 3 Aug 2009, 21:43 (17 years ago) parent50a1eea
2 files changed+5−2
Text/Libyaml.chs+1−1 yaml.cabal+4−1
Text/Libyaml.chs+1−1
@@ -8,7 +8,7 @@ module Text.Libyaml
88 ) where
99
1010#include <yaml.h>
11−#include "../../../c/helper.h"
11+#include <helper.h>
1212
1313import C2HS
1414import qualified Data.ByteString.Internal as B
yaml.cabal+4−1
@@ -1,5 +1,5 @@
11name: yaml
2−version: 0.0.0
2+version: 0.0.1
33license: BSD3
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>
@@ -23,4 +23,7 @@ library
2323 C2HS
2424 ghc-options: -Wall
2525 c-sources: c/helper.c
26+ include-dirs: c
27+ includes: c/helper.h
2628 extra-libraries: yaml
29+ build-tools: c2hs