Skip to content

Commit

Permalink
Drop zlib dependency
Browse files Browse the repository at this point in the history
The code in tpsclient that used zlib was dropped in PKI 11.1
so the dependency is no longer needed.
  • Loading branch information
edewata committed Mar 8, 2024
1 parent 021ef09 commit 0b5bd0c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions base/tools/src/main/native/tpsclient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ SET(CMAKE_INSTALL_RPATH "${LIB_INSTALL_DIR}/tps")
# which point to directories outside the build tree to the install RPATH
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

find_library(ZLIB_LIBRARY
NAMES
z
PATHS
/usr/lib
/usr/lib64
/usr/local/lib
/opt/local/lib
/sw/lib
)

set(TPS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/include)

set(TPS_PUBLIC_INCLUDE_DIRS
Expand Down Expand Up @@ -134,7 +123,6 @@ set(TPS_LINK_LIBRARIES
${NSS_LIBRARIES}
${APR_LIBRARIES}
${LDAP_LIBRARIES}
${ZLIB_LIBRARY}
)

include_directories(${TPS_PRIVATE_INCLUDE_DIRS})
Expand Down
2 changes: 0 additions & 2 deletions pki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ BuildRequires: apr-util-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: httpd-devel >= 2.4.2
BuildRequires: systemd
BuildRequires: zlib
BuildRequires: zlib-devel

# build dependency to build man pages
BuildRequires: golang-github-cpuguy83-md2man
Expand Down

0 comments on commit 0b5bd0c

Please sign in to comment.