diff --git a/BUILD.gn b/BUILD.gn index 4760e571365741360facfbc939c7c96d58c1f215..1397c8b85af32c00a5b2afdb6e1e279b7b4e54ca 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -174,5 +174,8 @@ if (ohos_build_type == "debug") { sources = mbedtls_sources output_name = "mbedtls_gt" public_configs = [ ":mbedtls_profile_test" ] + if (ohos_kernel_type == "liteos_m") { + deps = [ "//kernel/liteos_m/kal/posix" ] + } } }