Skip to content

Commit 2cbbd09

Browse files
committed
Merge #90: pkgconfig: Use @CMAKE_INSTALL_LIBDIR@ variable
0f9605b pkgconfig: Use @CMAKE_INSTALL_LIBDIR@ variable (Ryan Ofsky) Pull request description: 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. Top commit has no ACKs. Tree-SHA512: f6bf645b9ad9575b4f1847a65839de01546dea574787ac1789cfffc9b144545dfc70b552d986e003ef845c40b011393b6be0d1e324e4bd6ba4e4e89d29c3a91a
2 parents 0271195 + 0f9605b commit 2cbbd09

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)