Skip to content

Commit

Permalink
openssh: drop openssl and zlib dependencies (#2011)
Browse files Browse the repository at this point in the history
We actually don't need them for building the only 2 executables we care about (scp & sftp-server).
  • Loading branch information
benoit-pierre authored Dec 19, 2024
1 parent db23c1e commit 73cd8c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ if(CERVANTES OR KINDLE OR KOBO OR POCKETBOOK)
else()
set(EXCLUDE_FROM_ALL EXCLUDE_FROM_ALL)
endif()
declare_project(thirdparty/openssh ${EXCLUDE_FROM_ALL} DEPENDS openssl zlib)
declare_project(thirdparty/openssh ${EXCLUDE_FROM_ALL})

# openssl
declare_project(thirdparty/openssl)
Expand Down
6 changes: 2 additions & 4 deletions thirdparty/openssh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ list(APPEND CFG_CMD
--disable-etc-default-login
--disable-lastlog
--with-md5-passwords
--with-openssl
--with-ssl-engine
--without-hardening
--without-openssl
--without-stackprotect
--with-ssl-dir=${STAGING_DIR}
--with-zlib=${STAGING_DIR}
--without-zlib
)

list(APPEND BUILD_CMD COMMAND make sftp-server scp)
Expand Down

0 comments on commit 73cd8c1

Please sign in to comment.