!72 jsoncpp添加后向保护

Merge pull request !72 from youbing54/cherry-pick-1724315129
This commit is contained in:
openharmony_ci
2024-08-23 09:02:34 +00:00
committed by Gitee
+1
View File
@@ -45,6 +45,7 @@ if (defined(ohos_lite)) {
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
ohos_static_library("cjson_static") {
branch_protector_ret = "pac_ret"
sources = [ "cJSON.c" ]
public_configs = [ ":cJSON_config" ]
part_name = "cJSON"