aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-05-11 15:04:33 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-05-08 09:10:45 +0200
commitb92421fe9ed96f317aa51e12e87d37df134d6a1f (patch)
treeb01797369b95ad780881228f40f500210febc785
parentbf77fdfb9c6e9acbfdad31a1717c515c181af448 (diff)
libssh: adjusted configure options from upstreamlinksys3200ac-master
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--libs/libssh/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/libs/libssh/Makefile b/libs/libssh/Makefile
index a86c1c816..6ce9dc644 100644
--- a/libs/libssh/Makefile
+++ b/libs/libssh/Makefile
@@ -43,7 +43,7 @@ endef
EXTRA_CFLAGS += \
-DHAVE_OPENSSL_EVP_CIPHER_CTX_NEW=1
-CMAKE_OPTIONS = \
+CMAKE_OPTIONS += \
-DHAVE_STRTOULL=1 \
-DHAVE_GETADDRINFO=1 \
-DHAVE_TERMIOS_H=1 \
@@ -62,21 +62,10 @@ CMAKE_OPTIONS = \
-DWITH_STACK_PROTECTOR=0 \
-UWITH_STACK_PROTECTOR_STRONG \
-DWITH_STACK_PROTECTOR_STRONG=0 \
- -DHAVE_WORDS_BIGENDIAN=$(if $(CONFIG_BIG_ENDIAN),1,0) \
-DWITH_SSH1:BOOL=OFF \
-DWITH_TESTING:BOOL=OFF \
-DWITH_STATIC_LIB:BOOL=ON \
-
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include/libssh/
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libssh/* $(1)/usr/include/libssh/
-
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh* $(1)/usr/lib/
-
- $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
-endef
+ -DHAVE_WORDS_BIGENDIAN=$(if $(CONFIG_BIG_ENDIAN),1,0)
define Package/libssh/install
$(INSTALL_DIR) $(1)/usr/lib