summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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