diff --git a/hapsigntool_cpp/BUILD.gn b/hapsigntool_cpp/BUILD.gn index 9711a538cd7214138a851ae8439fac27bc29ac20..94c6969b34ff76f75bd50ecd97d19846acf3a9e6 100644 --- a/hapsigntool_cpp/BUILD.gn +++ b/hapsigntool_cpp/BUILD.gn @@ -87,12 +87,12 @@ ohos_executable("hap-sign-tool") { "//third_party/bzip2:libbz2", "//third_party/openssl:libcrypto_shared", "//third_party/openssl:libssl_shared", - "//third_party/zlib:shared_libz", ] external_deps = [ "c_utils:utils", "json:nlohmann_json_static", + "zlib:shared_libz", ] cflags_cc = [ diff --git a/hapsigntool_cpp/bundle.json b/hapsigntool_cpp/bundle.json index 2884aba2c11796a768ef1b4a92d3390523823de5..75f884b9691b3f801b55d3eaeba12db3e9c84490 100644 --- a/hapsigntool_cpp/bundle.json +++ b/hapsigntool_cpp/bundle.json @@ -32,13 +32,13 @@ "deps": { "components": [ "c_utils", - "json" + "json", + "zlib" ], "third_party": [ "bzip2", "openssl", - "jsoncpp", - "zlib" + "jsoncpp" ] }, "build": {