diff --git a/BUILD.gn b/BUILD.gn index 66650948acff7523e0e4ec16f9a4e03394aa51f8..b689ad146ab6f87d463488aa623f03dda4c98b69 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" diff --git a/bundle.json b/bundle.json index c1b82294b7342b56e2a8c5ceba575726869f3498..f8febdaeca7511294146e434054a64a4a66f25fb 100644 --- a/bundle.json +++ b/bundle.json @@ -22,7 +22,9 @@ "rom": "", "ram": "", "deps": { - "components": [], + "components": [ + "zlib" + ], "third_party": [] }, "build": {