Update examples
This commit is contained in:
10
testsuite/pkgconf/null/api/API.hs
Normal file
10
testsuite/pkgconf/null/api/API.hs
Normal file
@ -0,0 +1,10 @@
|
||||
{-# OPTIONS -fglasgow-exts #-}
|
||||
|
||||
module API where
|
||||
|
||||
data Null = Null { a, b :: Int }
|
||||
deriving Show
|
||||
|
||||
plugin :: Null
|
||||
plugin = Null { a = 42 , b = 1 }
|
||||
|
18
testsuite/pkgconf/null/api/package.conf.in
Normal file
18
testsuite/pkgconf/null/api/package.conf.in
Normal file
@ -0,0 +1,18 @@
|
||||
Package {
|
||||
name = "api",
|
||||
auto = False,
|
||||
|
||||
import_dirs = [ "${PREFIX}" ],
|
||||
library_dirs = [ "${PREFIX}" ],
|
||||
hs_libraries = [ "HSapi" ],
|
||||
|
||||
include_dirs = [],
|
||||
c_includes = [],
|
||||
source_dirs = [],
|
||||
extra_libraries = [],
|
||||
package_deps = [],
|
||||
extra_ghc_opts = [],
|
||||
extra_cc_opts = [],
|
||||
extra_ld_opts = []
|
||||
}
|
||||
|
Reference in New Issue
Block a user