From 27e90f47bb8cea1556026c37b028cdd5ea7ef411 Mon Sep 17 00:00:00 2001 From: Alois Cochard Date: Mon, 2 Mar 2015 14:32:46 +0100 Subject: [PATCH] Use default `include` location instead of custom path. Which resolve nicely when the package is installed using the distribution. --- grpc-haskell.cabal | 3 +-- src/Network/GRPC.chs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/grpc-haskell.cabal b/grpc-haskell.cabal index 4f9db23..e3e790b 100644 --- a/grpc-haskell.cabal +++ b/grpc-haskell.cabal @@ -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 diff --git a/src/Network/GRPC.chs b/src/Network/GRPC.chs index a66b8db..235a74a 100644 --- a/src/Network/GRPC.chs +++ b/src/Network/GRPC.chs @@ -2,7 +2,7 @@ module Network.GRPC where import Foreign.Ptr -#include "grpc.h" +#include "grpc/grpc.h" {#context prefix = "grpc" #}