From 8c1ee670cae9cdb7009bd12a873cc56c15ccbce8 Mon Sep 17 00:00:00 2001 From: zwtmichael Date: Sat, 28 Dec 2024 14:49:25 +0800 Subject: [PATCH] fix cross platform build Signed-off-by: zwtmichael --- BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 8258b41..3ae3aed 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -60,6 +60,7 @@ ohos_shared_library("sqliteicu") { subsystem_name = "thirdparty" install_images = [ system_base_dir ] relative_install_dir = "platformsdk" + external_deps = [] if (is_cross_platform_build) { if (target_os == "ios") { deps += [ "//third_party/bounds_checking_function:libsec_shared" ] @@ -67,7 +68,7 @@ ohos_shared_library("sqliteicu") { deps += [ "//commonlibrary/c_utils/base:utils" ] } } else { - external_deps = [ "c_utils:utils" ] + external_deps += [ "c_utils:utils" ] } external_deps += [ "icu:shared_icui18n", -- Gitee