libssh2: Don't build tests

Speeds up build and fixes OpenSSL support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from commit a447e1c6b2)
This commit is contained in:
Rosen Penev 2019-08-27 17:14:22 -07:00 committed by Josef Schlehofer
parent ed0bc1713c
commit 55ce4621cf
No known key found for this signature in database
GPG key ID: B950216FE4329F4C

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libssh2
PKG_VERSION:=1.9.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.libssh2.org/download
@ -49,6 +49,7 @@ endef
CMAKE_OPTIONS += \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
-DENABLE_ZLIB_COMPRESSION=ON \
-DCLEAR_MEMORY=ON