From 5f14adef441a37a941aa082bc932d5cb59e7e897 Mon Sep 17 00:00:00 2001 From: openharmony_ci <120357966@qq.com> Date: Thu, 23 May 2024 02:55:27 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!2841=20?= =?UTF-8?q?:=20updater=5Fbinary=E4=BE=9D=E8=B5=96=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=9D=99=E6=80=81=E5=BA=93'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/param/base/BUILD.gn | 4 ++-- services/param/linux/BUILD.gn | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/services/param/base/BUILD.gn b/services/param/base/BUILD.gn index 10e88d96d..5214aedc3 100644 --- a/services/param/base/BUILD.gn +++ b/services/param/base/BUILD.gn @@ -165,14 +165,14 @@ if (defined(ohos_lite)) { deps = [] include_dirs += [ "//base/startup/init/services/init/include" ] - external_deps = [ "bounds_checking_function:libsec_static" ] + external_deps = [ "bounds_checking_function:libsec_shared" ] if (build_selinux) { defines += [ "PARAM_SUPPORT_SELINUX", "PARAMWORKSPACE_NEED_MUTEX", ] external_deps += [ - "selinux:libselinux_static", + "selinux:libselinux", "selinux_adapter:libselinux_parameter_static", ] } diff --git a/services/param/linux/BUILD.gn b/services/param/linux/BUILD.gn index 2ce7155d6..5cb15e0a1 100755 --- a/services/param/linux/BUILD.gn +++ b/services/param/linux/BUILD.gn @@ -170,10 +170,12 @@ if (defined(ohos_lite)) { ] external_deps = [ "bounds_checking_function:libsec_static", - "cJSON:cjson_static", + "cJSON:cjson", "selinux_adapter:libselinux_parameter_static", ] + public_external_deps = [ "selinux:libselinux" ] + cflags = [ "-Wno-deprecated-pragma" ] defines = [ "_GNU_SOURCE", -- Gitee