mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-23 11:39:43 +01:00
Use default include
location instead of custom path.
Which resolve nicely when the package is installed using the distribution.
This commit is contained in:
parent
3048b035c8
commit
27e90f47bb
2 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@ library
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
extra-libraries: grpc
|
extra-libraries: grpc
|
||||||
includes: grpc.h
|
includes: grpc/grpc.h
|
||||||
include-dirs: /usr/local/include/grpc
|
|
||||||
build-tools: c2hs
|
build-tools: c2hs
|
||||||
build-depends: base >=4.7 && <4.8
|
build-depends: base >=4.7 && <4.8
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
|
|
|
@ -2,7 +2,7 @@ module Network.GRPC where
|
||||||
|
|
||||||
import Foreign.Ptr
|
import Foreign.Ptr
|
||||||
|
|
||||||
#include "grpc.h"
|
#include "grpc/grpc.h"
|
||||||
|
|
||||||
{#context prefix = "grpc" #}
|
{#context prefix = "grpc" #}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue