Use default include location instead of custom path.

Which resolve nicely when the package is installed using the distribution.
This commit is contained in:
Alois Cochard 2015-03-02 14:32:46 +01:00
parent 3048b035c8
commit 27e90f47bb
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@ module Network.GRPC where
import Foreign.Ptr
#include "grpc.h"
#include "grpc/grpc.h"
{#context prefix = "grpc" #}