From 28e46bb61184acc1b07e8ef787bcd06396657d93 Mon Sep 17 00:00:00 2001 From: Internet1235 <135099493+Internet1235@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:23:53 +0800 Subject: [PATCH] openssl: make compatible with v1.1 pkg (#13143) --- package/libs/openssl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index c5b72fffff9af5..13f76c259d8799 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -401,7 +401,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