From 61625a6cf9e10f0f64b40201ad7242661fed91ce Mon Sep 17 00:00:00 2001 From: lean Date: Sun, 17 Sep 2023 04:11:12 +0800 Subject: [PATCH] openssl: make compatible with v1.1 pkg --- package/libs/openssl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 725b37012ec712..fa0791f62fb9ec 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -409,7 +409,9 @@ define Package/libopenssl/install chmod 0700 $(1)/etc/ssl/private $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libcrypto.so.* $(1)/usr/lib/ + $(LN) libcrypto.so.3 $(1)/usr/lib/libcrypto.so.1.1 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libssl.so.* $(1)/usr/lib/ + $(LN) libssl.so.3 $(1)/usr/lib/libssl.so.1.1 $(if $(CONFIG_OPENSSL_ENGINE),$(INSTALL_DIR) $(1)/usr/lib/$(ENGINES_DIR)) endef