From 7fefa4df2f13e11201861af6dd7f97cca38dac08 Mon Sep 17 00:00:00 2001 From: xia-bubai Date: Fri, 8 Aug 2025 11:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xia-bubai Change-Id: I6ab176e0d64c2a7084ba2707da201ac30a61f0a9 --- interfaces/innerkits/nativetoken/BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interfaces/innerkits/nativetoken/BUILD.gn b/interfaces/innerkits/nativetoken/BUILD.gn index 4a1c16b0f..cf5d9a95b 100644 --- a/interfaces/innerkits/nativetoken/BUILD.gn +++ b/interfaces/innerkits/nativetoken/BUILD.gn @@ -50,9 +50,10 @@ if (is_standard_system) { "bounds_checking_function:libsec_shared", "cJSON:cjson_static", "hilog:libhilog", - "hisysevent:libhisysevent", ] + public_external_deps = [ "hisysevent:libhisysevent" ] + if (build_selinux) { external_deps += [ "selinux_adapter:librestorecon" ] cflags += [ "-DWITH_SELINUX" ] -- Gitee