Disable static linking for disassembler on MAC platform

There is build error when building ark_disasm for MAC sdk with static linking. So we disable it on MAC.

Signed-off-by: qiuyu <qiuyu22@huawei.com>
This commit is contained in:
qiuyu 2022-06-16 13:38:41 +08:00
parent 8289e3e4e3
commit d5a2d9bd8f

View File

@ -109,7 +109,7 @@ ohos_executable("ark_disasm") {
ldflags = [ "-static-libstdc++" ]
}
if (is_standard_system) {
if (is_standard_system && !is_mac) {
static_link = true
}