diff --git a/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn b/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn index 685f061bb0ddde26771f45bec24abd965e0b4ba8..9b5d4089fe5c5bfd30b8959f16e88913f36b68f6 100644 --- a/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn +++ b/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn @@ -35,9 +35,9 @@ ohos_shared_library("nativerender") { "./render/egl_core.cpp", "./render/plugin_render.cpp", ] - - stl = "c++_shared" - + if (use_musl) { + stl = "c++_shared" + } include_dirs = [ ".", "./common",