Skip to content

Commit

Permalink
Merge pull request tgockel#128 from loskutov/fix-issue-113
Browse files Browse the repository at this point in the history
build: add shlibs file for debian
  • Loading branch information
tgockel authored Dec 1, 2021
2 parents e02fe62 + 66bab0b commit 425dfe0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ if(ZKPP_PACKAGE_SYSTEM)
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
endif()
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/install/deb/lib${package_name}/shlibs.in")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/install/deb/lib${package_name}/shlibs.in"
"${CMAKE_CURRENT_BINARY_DIR}/install/lib${package_name}${PROJECT_SO_VERSION}/DEBIAN/shlibs"
@ONLY IMMEDIATE
)
endif()

add_custom_target("lib${package_name}.deb"
BYPRODUCTS "install/lib${package_name}${PROJECT_SO_VERSION}.deb"
Expand Down
1 change: 1 addition & 0 deletions install/deb/libzkpp/shlibs.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libzkpp 0.2 libzkpp0.2 (>= 0.2.3)

0 comments on commit 425dfe0

Please sign in to comment.