Skip to content

Commit 0f9605b

Browse files
committed
pkgconfig: Use @CMAKE_INSTALL_LIBDIR@ variable
Use @CMAKE_INSTALL_LIBDIR@ variable instead of hardcoding "lib" as the libdir. This is needed after 54bd57f (#79) which changed the installation to sometimes install to "lib64". This fixes error "ld: cannot find -lmultiprocess: No such file or directory" in Bitcoin Core. Also replace hardcoded "include" with @CMAKE_INSTALL_INCLUDEDIR@ for consistency.
1 parent 414542f commit 0f9605b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgconfig/libmultiprocess.pc.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=${prefix}
3-
libdir=${prefix}/lib
4-
includedir=${prefix}/include
3+
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
4+
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
55
capnp_prefix=@capnp_PREFIX@
66

77
Name: libmultiprocess

0 commit comments

Comments
 (0)