Skip to content

Commit

Permalink
fixes after merging upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Sep 13, 2024
1 parent 09d3ff1 commit 673c5f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions libbitcoinkernel.pc.in → libgroestlcoinkernel.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@

Name: @PACKAGE_NAME@ kernel library
Description: Experimental library for the Bitcoin Core validation engine.
Description: Experimental library for the Groestlcoin Core validation engine.
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbitcoinkernel
Libs: -L${libdir} -lgroestlcoinkernel
Libs.private: -L${libdir} @LIBS_PRIVATE@
Cflags: -I${includedir}
8 changes: 4 additions & 4 deletions src/kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ set_target_properties(groestlcoinkernel PROPERTIES
)

# When building the static library, install all static libraries the
# bitcoinkernel depends on.
# groestlcoinkernel depends on.
if(NOT BUILD_SHARED_LIBS)
# Recursively get all the static libraries a target depends on and put them in libs_out
function(get_target_static_link_libs target libs_out)
Expand All @@ -120,7 +120,7 @@ if(NOT BUILD_SHARED_LIBS)
endfunction()

set(all_kernel_static_link_libs "")
get_target_static_link_libs(bitcoinkernel all_kernel_static_link_libs)
get_target_static_link_libs(groestlcoinkernel all_kernel_static_link_libs)

# LIBS_PRIVATE is substituted in the pkg-config file.
set(LIBS_PRIVATE "")
Expand All @@ -132,8 +132,8 @@ if(NOT BUILD_SHARED_LIBS)
string(STRIP "${LIBS_PRIVATE}" LIBS_PRIVATE)
endif()

configure_file(${PROJECT_SOURCE_DIR}/libbitcoinkernel.pc.in ${PROJECT_BINARY_DIR}/libbitcoinkernel.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/libbitcoinkernel.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
configure_file(${PROJECT_SOURCE_DIR}/libgroestlcoinkernel.pc.in ${PROJECT_BINARY_DIR}/libgroestlcoinkernel.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/libgroestlcoinkernel.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")

include(GNUInstallDirs)
install(TARGETS groestlcoinkernel
Expand Down

0 comments on commit 673c5f1

Please sign in to comment.