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 ce60b886b713e2d2deaec55cd3cf63fcf778b704..aa64da41eeb3dfc72e7392635c7c7dc1e4cc32b3 100644 --- a/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn +++ b/arkui/ace_ets_xcomponent/entry/src/main/cpp/BUILD.gn @@ -37,13 +37,7 @@ ohos_shared_library("nativerender") { ] if (!(product_name == "m40")) { - if (target_cpu == "arm") { - libs = [ "${clang_base_path}/../libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" ] - } else if (target_cpu == "arm64") { - libs = [ "${clang_base_path}/../libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so" ] - } else { - libs = [] - } + stl = "c++_shared" } include_dirs = [