From f0e04cbae7ae68170d7732d5b066a7bc9f42a477 Mon Sep 17 00:00:00 2001 From: zhangcan42 Date: Wed, 16 Oct 2024 08:12:33 +0000 Subject: [PATCH 1/2] rectify zlib's deps Signed-off-by: zhangcan42 --- BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 66650948..b689ad14 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -40,7 +40,9 @@ ohos_static_library("libelf_static") { "//third_party/elfutils/libelf", ] - deps = [ "//third_party/zlib:libz" ] + deps = [] + + external_deps = [ "zlib:libz" ] license_file = "COPYING-LGPLV3" subsystem_name = "thirdparty" -- Gitee From de3e21860ad4200fa23c983ca82b71f0e49e3560 Mon Sep 17 00:00:00 2001 From: zhangcan42 Date: Wed, 16 Oct 2024 08:14:34 +0000 Subject: [PATCH 2/2] add zlib Signed-off-by: zhangcan42 --- bundle.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index c1b82294..f8febdae 100644 --- a/bundle.json +++ b/bundle.json @@ -22,7 +22,9 @@ "rom": "", "ram": "", "deps": { - "components": [], + "components": [ + "zlib" + ], "third_party": [] }, "build": { -- Gitee