!59 cJSON编译整改验收

Merge pull request !59 from youbing54/master
This commit is contained in:
openharmony_ci
2024-04-26 07:22:39 +00:00
committed by Gitee
+2 -2
View File
@@ -13,7 +13,7 @@
if (defined(ohos_lite)) {
config("cjson_config") {
include_dirs = [ "." ]
include_dirs = [ "//third_party/cJSON" ]
ldflags = [ "-lm" ]
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
@@ -41,7 +41,7 @@ if (defined(ohos_lite)) {
} else {
import("//build/ohos.gni")
config("cJSON_config") {
include_dirs = [ "." ]
include_dirs = [ "//third_party/cJSON" ]
defines = [ "CJSON_NESTING_LIMIT=(128)" ]
}
ohos_static_library("cjson_static") {