mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2024-11-30 10:20:49 +00:00
fix sdk compiling on mac
Signed-off-by: hufeng <hufeng20@huawei.com>
This commit is contained in:
parent
3ed43e2f98
commit
6ddc814608
@ -112,7 +112,7 @@ ohos_executable("ark_asm") {
|
||||
"$ark_root/libpandafile:libarkfile_frontend_static",
|
||||
]
|
||||
|
||||
if (!is_mingw && !ark_standalone_build) {
|
||||
if (!is_mac && !is_mingw && !ark_standalone_build) {
|
||||
ldflags = [ "-static-libstdc++" ]
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ ohos_executable("ark_disasm") {
|
||||
"$ark_root/libpandafile:libarkfile_frontend_static",
|
||||
]
|
||||
|
||||
if (!is_mingw && !ark_standalone_build) {
|
||||
if (!is_mac && !is_mingw && !ark_standalone_build) {
|
||||
ldflags = [ "-static-libstdc++" ]
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,6 @@ if (is_mingw) {
|
||||
"$ark_root/libpandabase/mem/pool_manager.cpp",
|
||||
"$ark_root/libpandabase/mem/pool_map.cpp",
|
||||
"$ark_root/libpandabase/os/dfx_option.cpp",
|
||||
"$ark_root/libpandabase/os/filesystem.cpp",
|
||||
"$ark_root/libpandabase/os/native_stack.cpp",
|
||||
"$ark_root/libpandabase/os/property.cpp",
|
||||
|
||||
@ -89,6 +88,7 @@ if (is_mingw) {
|
||||
|
||||
if (!is_mac) {
|
||||
libarkbase_sources += [
|
||||
"$ark_root/libpandabase/os/filesystem.cpp",
|
||||
"$ark_root/libpandabase/os/unix/exec.cpp",
|
||||
"$ark_root/libpandabase/os/unix/futex/mutex.cpp",
|
||||
"$ark_root/libpandabase/os/unix/pipe.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user