fix: 解决使用uniproton内核编译构建失败的问题

Close: #I5Y1ZZ

Signed-off-by: zhangdengyu <zhangdengyu2@huawei.com>
Change-Id: I7d260599c1c249a11ef4d5983ee67bd8e21048b4
This commit is contained in:
zhangdengyu
2022-10-27 18:21:32 +08:00
parent a70c1c90dc
commit 62f2dfebf4
+1 -1
View File
@@ -26,7 +26,7 @@ config("libsec_public_config") {
if (defined(ohos_lite)) {
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
if (current_toolchain == "//build/toolchain/linux:clang_x64" ||
ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
ohos_kernel_type != "liteos_m") {
lite_library("libsec_static") {
target_type = "static_library"
sources = libsec_sources