From 819b67abe9682fab288b602a13fb69219eb330cb Mon Sep 17 00:00:00 2001 From: quguiren Date: Tue, 14 Nov 2023 09:38:29 +0800 Subject: [PATCH] third-party library Signed-off-by: quguiren --- BUILD.gn | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 04f5cd31..5e56f7c5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -244,19 +244,11 @@ ohos_static_library("websockets") { "-pipe", ] - deps = [ "//third_party/zlib:libz" ] - - if (target_os == "ios") { - deps += [ - "//third_party/openssl:libcrypto_static", - "//third_party/openssl:ssl_source", - ] - } else { - deps += [ - "//third_party/openssl:libcrypto_shared", - "//third_party/openssl:libssl_shared", - ] - } + deps = [ + "//third_party/openssl:libcrypto_shared", + "//third_party/openssl:libssl_shared", + "//third_party/zlib:libz", + ] } config("websocket_config") { -- Gitee