mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-25 19:29:45 +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-extensions:
|
||||
extra-libraries: grpc
|
||||
includes: grpc.h
|
||||
include-dirs: /usr/local/include/grpc
|
||||
includes: grpc/grpc.h
|
||||
build-tools: c2hs
|
||||
build-depends: base >=4.7 && <4.8
|
||||
hs-source-dirs: src
|
||||
|
|
|
@ -2,7 +2,7 @@ module Network.GRPC where
|
|||
|
||||
import Foreign.Ptr
|
||||
|
||||
#include "grpc.h"
|
||||
#include "grpc/grpc.h"
|
||||
|
||||
{#context prefix = "grpc" #}
|
||||
|
||||
|
|
Loading…
Reference in a new issue