!139 使用静态编译时支持导出符号

Merge pull request !139 from Sunfei/work_0521
This commit is contained in:
openharmony_ci 2023-06-07 01:30:35 +00:00 committed by Gitee
commit 485d9305b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -606,7 +606,7 @@ ohos_shared_library("shared_icui18n") {
install_enable = true
}
ohos_static_library("static_icuuc") {
ohos_source_set("static_icuuc") {
configs = [
":icu_config",
"//build/config/compiler:rtti",
@ -648,7 +648,6 @@ ohos_static_library("static_icuuc") {
]
cflags = [
"-fvisibility=hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",
@ -666,7 +665,7 @@ ohos_static_library("static_icuuc") {
subsystem_name = "$icu_subsystem_name"
}
ohos_static_library("static_icui18n") {
ohos_source_set("static_icui18n") {
sources = icu_i18n_source
configs = [
":icu_config",
@ -709,7 +708,6 @@ ohos_static_library("static_icui18n") {
}
cflags = [
"-fvisibility=hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",