diff --git a/services/param/liteos/BUILD.gn b/services/param/liteos/BUILD.gn index 11168c1292afa0185f083f0be569d2f60fbe0159..ea03c3b9fa679913b8cb7297bb08b8c23ba7a870 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" ]