From 143ad26b4a4b98d1c0b057330629bdf6e7013e0d Mon Sep 17 00:00:00 2001 From: zaki Date: Sat, 8 Oct 2022 09:37:11 +0800 Subject: [PATCH] update services/param/liteos/BUILD.gn Signed-off-by: zaki Change-Id: I387b21d466b7bdbc6c743209b66afd6eba0ff654 --- services/param/liteos/BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/param/liteos/BUILD.gn b/services/param/liteos/BUILD.gn index 11168c12..ea03c3b9 100644 --- a/services/param/liteos/BUILD.gn +++ b/services/param/liteos/BUILD.gn @@ -111,6 +111,10 @@ static_library("param_client_lite") { defines = param_build_defines public_configs = [ ":exported_header_files" ] + if (use_musl) { + defines += [ "PARAM_BASE" ] + } + if (ohos_kernel_type == "liteos_a") { sources += [ "//base/startup/init/services/param/adapter/param_persistadp.c" ] -- GitLab