diff options
author | Bjorn Svensson <bjorn.a.svensson@est.tech> | 2022-09-19 19:49:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 10:49:55 -0700 |
commit | 722e3409c7d133524750036655bf24d3193ff951 (patch) | |
tree | dc4cedee9fa676cbd5acba76d6a17652e378e9c3 /hiredis.pc.in | |
parent | bd9ccb8c47e6a021ebd67fca1ba832e4bb0d387f (diff) |
Additional include directory given by pkg-config (#1118)
* Update include example in README
* Update pkg-config installed via CMake
Gives the include directory to enable the use of:
#include <hiredis/hiredis.h>
but keeps the existing include dir. for backwards compatibility.
Example:
> pkg-config hiredis --cflags
-D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include
* Update pkg-config installed via Make
Gives the include directory to enable the use of:
#include <hiredis/hiredis.h>
but keeps the existing include path for backwards compatibility.
Example:
> pkg-config hiredis --cflags
-D_FILE_OFFSET_BITS=64 -I/usr/local/include/hiredis -I/usr/local/include
Diffstat (limited to 'hiredis.pc.in')
-rw-r--r-- | hiredis.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.pc.in b/hiredis.pc.in index 91b7731..c7b8e0e 100644 --- a/hiredis.pc.in +++ b/hiredis.pc.in @@ -9,4 +9,4 @@ Name: hiredis Description: Minimalistic C client library for Redis. Version: @PROJECT_VERSION@ Libs: -L${libdir} -lhiredis -Cflags: -I${pkgincludedir} -D_FILE_OFFSET_BITS=64 +Cflags: -I${pkgincludedir} -I${includedir} -D_FILE_OFFSET_BITS=64 |