diff --git a/es2panda/BUILD.gn b/es2panda/BUILD.gn index ae3a711f2fdac2a5c3016086ac9b551f8c4f33ef..9c1a7ae9e1683d67123fac515f986c097c3d6f0e 100644 --- a/es2panda/BUILD.gn +++ b/es2panda/BUILD.gn @@ -445,12 +445,7 @@ ohos_executable("es2panda") { ] } - if (!is_mac) { - static_link = true - } - if (!use_musl) { - static_link = false ldflags += [ "-lc++" ] } diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index be0d3d72976acb0b7dcbc5e194b6b55b66083708..980dd2a7584fd3184132daf9d9f8d25514dbe6fa 100644 --- a/merge_abc/BUILD.gn +++ b/merge_abc/BUILD.gn @@ -200,12 +200,7 @@ ohos_executable("merge_abc") { defines = [ "PANDA_TARGET_WINDOWS" ] } - if (!is_mac) { - static_link = true - } - if (!use_musl) { - static_link = false ldflags += [ "-lc++" ] }