mirror of
https://github.com/openharmony/third_party_bounds_checking_function.git
synced 2026-08-25 13:19:32 -04:00
!14 fix: 安全函数库重复编译
Merge pull request !14 from Zhaotianyu/1208libsec_fix
This commit is contained in:
@@ -28,7 +28,11 @@ config("libsec_public_config") {
|
||||
if (defined(ohos_lite)) {
|
||||
lite_library("libsec_static") {
|
||||
target_type = "static_library"
|
||||
sources = libsec_sources
|
||||
|
||||
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
|
||||
if (ohos_kernel_type != "liteos_m") {
|
||||
sources = libsec_sources
|
||||
}
|
||||
public_configs = [ ":libsec_public_config" ]
|
||||
}
|
||||
lite_library("libsec_shared") {
|
||||
|
||||
Reference in New Issue
Block a user