!3762 Fix compilation issue on ArkUI-X when compile for iOS

Merge pull request !3762 from Pan Zhenyu/previewer
This commit is contained in:
openharmony_ci 2023-03-21 07:04:36 +00:00 committed by Gitee
commit 59525cfcdf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -968,7 +968,7 @@ ohos_shared_library("libark_jsruntime") {
if (is_mingw && !ark_standalone_build) {
deps += [ "$hilog_root:libhilog_windows" ]
}
if (is_mac && !ark_standalone_build) {
if (is_mac && target_os != "ios" && !ark_standalone_build) {
deps += [ "$hilog_root:libhilog_mac" ]
}
if (target_os == "ios" || ark_standalone_build) {

View File

@ -372,7 +372,7 @@ ohos_executable("ark_aot_compiler") {
if (is_mingw && !ark_standalone_build) {
deps += [ "$hilog_root:libhilog_windows" ]
}
if (is_mac && !ark_standalone_build) {
if (is_mac && target_os != "ios" && !ark_standalone_build) {
deps += [ "$hilog_root:libhilog_mac" ]
}