diff --git a/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/BUILD.gn b/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/BUILD.gn index aebf555170d31efbddbca6ec0c71ba8a295f04e7..dd1f4ee9182852da697dae9080699965af6b8e6c 100644 --- a/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/BUILD.gn +++ b/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/BUILD.gn @@ -31,7 +31,7 @@ config("public_config") { ohos_shared_library("imagePixelmap") { sources = [ "./napi/imagePixelmap.cpp" ] - if (!(product_name == "m40")) { + if (use_musl) { if (target_cpu == "arm") { libs = [ "${clang_base_path}/../libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" ] } else if (target_cpu == "arm64") {