export symbols for static libs

Signed-off-by: sunfei <sunfei.sun@huawei.com>
Change-Id: Icd5433082e4699a9db94a7aac2c77b84cd649017
This commit is contained in:
sunfei 2023-06-03 22:12:43 +08:00
parent 97d5658d14
commit abb0863ea7

View File

@ -602,7 +602,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",
@ -644,7 +644,6 @@ ohos_static_library("static_icuuc") {
]
cflags = [
"-fvisibility=hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",
@ -660,7 +659,7 @@ ohos_static_library("static_icuuc") {
output_name = "hmicuuc"
}
ohos_static_library("static_icui18n") {
ohos_source_set("static_icui18n") {
sources = icu_i18n_source
configs = [
":icu_config",
@ -703,7 +702,6 @@ ohos_static_library("static_icui18n") {
}
cflags = [
"-fvisibility=hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",