From 34262b2989b840281c60f48c1f0698c67839927a Mon Sep 17 00:00:00 2001 From: fupengfei001 Date: Wed, 21 Feb 2024 10:59:35 +0800 Subject: [PATCH] fix undefined symbol on macos while link cJSON.dylib Signed-off-by: fupengfei001 --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- Gitee