summaryrefslogtreecommitdiff
path: root/hiredis.pc.in
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-04-23 11:11:55 -0700
committerGitHub <noreply@github.com>2020-04-23 11:11:55 -0700
commit7e2ee7c38b42345eeb0aa787824219e622434ae7 (patch)
tree1cb18cd33f71fcdf23a9698f4d211b0728cd2452 /hiredis.pc.in
parentb484021859c2b395f13163caaa9b877b5284ab07 (diff)
Fix pkgconfig when installing to a custom lib dir (#793)
* Respect overridden libdir in CMake See: #767
Diffstat (limited to 'hiredis.pc.in')
-rw-r--r--hiredis.pc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/hiredis.pc.in b/hiredis.pc.in
index 140b040..91b7731 100644
--- a/hiredis.pc.in
+++ b/hiredis.pc.in
@@ -1,6 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
+install_libdir=@CMAKE_INSTALL_LIBDIR@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/${install_libdir}
includedir=${prefix}/include
pkgincludedir=${includedir}/hiredis