diff --git a/BUILD.gn b/BUILD.gn index 3770b31..e43b3cd 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -51,7 +51,7 @@ if (defined(ohos_lite)) { subsystem_name = "thirdparty" } ohos_shared_library("cjson") { - deps = [ ":cjson_static" ] + sources = [ "cJSON.c" ] public_configs = [ ":cJSON_config" ] innerapi_tags = [ "chipsetsdk",