diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-04-23 11:11:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 11:11:55 -0700 |
commit | 7e2ee7c38b42345eeb0aa787824219e622434ae7 (patch) | |
tree | 1cb18cd33f71fcdf23a9698f4d211b0728cd2452 /hiredis.pc.in | |
parent | b484021859c2b395f13163caaa9b877b5284ab07 (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.in | 3 |
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 |