-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathExampleModule.cabal
More file actions
26 lines (23 loc) · 908 Bytes
/
ExampleModule.cabal
File metadata and controls
26 lines (23 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-- Initial example.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: ExampleModule
version: 0.1.0.0
synopsis: simple example module for HaPy
license: MIT
author: David Fisher
maintainer: ddf1991@gmail.com
build-type: Simple
cabal-version: >=1.10
library
exposed-modules: ExampleModule, Export
other-extensions: ForeignFunctionInterface, TemplateHaskell
build-depends: base >=4.6 && <4.12, HaPy == 0.2.*
default-language: Haskell2010
-- *** change this to your GHC version ***
-- the make script will do this automatically
--extra-libraries: HSrts-ghc
--extra-libraries: HSrts_l
extra-libraries: HSrts
--ghc-options: -fPIC -pie -dynamic -shared -dylib-install-name=ExampleModule
ghc-options: -shared
-- Mac: -fPIC