From 7e2ee7c38b42345eeb0aa787824219e622434ae7 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Thu, 23 Apr 2020 11:11:55 -0700 Subject: Fix pkgconfig when installing to a custom lib dir (#793) * Respect overridden libdir in CMake See: #767 --- hiredis.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hiredis.pc.in') 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 -- cgit v1.2.3