From bf97bffdf05cfaf3057e40333e6ec363b2b0c79f Mon Sep 17 00:00:00 2001 From: faithwang Date: Thu, 21 Jul 2022 15:15:46 +0800 Subject: [PATCH 1/2] change libuv to shared Signed-off-by: faithwang --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index dee3f40c..1fc5f70a 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -97,7 +97,7 @@ ohos_executable("hdcd") { configs = [ ":hdc_config" ] deps = [ - "//third_party/libuv:uv_static", + "//third_party/libuv:uv", "//third_party/lz4:liblz4_static", "//third_party/openssl:libcrypto_static", "//utils/native/base:utilsbase", @@ -181,7 +181,7 @@ ohos_executable("hdc_std") { deps = [ "//third_party/bounds_checking_function:libsec_static", "//third_party/libusb:libusb", - "//third_party/libuv:uv_static", + "//third_party/libuv:uv", "//third_party/lz4:liblz4_static", "//third_party/openssl:libcrypto_static", ] -- Gitee From 954e0aab58bd82d4454470f17e15c625850b0162 Mon Sep 17 00:00:00 2001 From: faithwang Date: Thu, 21 Jul 2022 20:51:12 +0800 Subject: [PATCH 2/2] change hdcd static lib to shared Signed-off-by: faithwang --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 1fc5f70a..73cb02bf 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -99,7 +99,7 @@ ohos_executable("hdcd") { deps = [ "//third_party/libuv:uv", "//third_party/lz4:liblz4_static", - "//third_party/openssl:libcrypto_static", + "//third_party/openssl:libcrypto_shared", "//utils/native/base:utilsbase", ] @@ -181,7 +181,7 @@ ohos_executable("hdc_std") { deps = [ "//third_party/bounds_checking_function:libsec_static", "//third_party/libusb:libusb", - "//third_party/libuv:uv", + "//third_party/libuv:uv_static", "//third_party/lz4:liblz4_static", "//third_party/openssl:libcrypto_static", ] -- Gitee