diff --git a/frameworks/native/vibrator/src/vibrator_service_client.cpp b/frameworks/native/vibrator/src/vibrator_service_client.cpp index ab9b01b8f0d623ceea59eb41cd40e11161208ab8..4518230a2efb8a8e1c07a12eaea460a64f27ab92 100644 --- a/frameworks/native/vibrator/src/vibrator_service_client.cpp +++ b/frameworks/native/vibrator/src/vibrator_service_client.cpp @@ -40,7 +40,7 @@ static constexpr int32_t MIN_VIBRATOR_EVENT_TIME = 100; using namespace OHOS::HiviewDFX; namespace { -#if (defined(__aarch64__) || defined(__x86_64__)) +#if (defined(__aarch64__) || defined(__loongarch_lp64) || defined(__x86_64__)) static const std::string DECODER_LIBRARY_PATH = "/system/lib64/platformsdk/libvibrator_decoder.z.so"; #else static const std::string DECODER_LIBRARY_PATH = "/system/lib/platformsdk/libvibrator_decoder.z.so";