From fdc73e95d69f0ef249f7dfda599a3d2e338a7559 Mon Sep 17 00:00:00 2001 From: bigpumpkin Date: Wed, 9 Mar 2022 10:06:24 +0000 Subject: [PATCH] fix so dir Signed-off-by: bigpumpkin --- src/appspawn_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index 7fd5ffea..7b7ea200 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -221,7 +221,7 @@ void AppSpawnServer::LoadAceLib() { #ifdef NWEB_SPAWN std::string enginelibdir("/data/app/el1/bundle/public/com.ohos.nweb" - "/entry/libs/armeabi/libweb_engine.so"); + "/libs/arm/libweb_engine.so"); HiLog::Info(LABEL, "MainThread::LoadAbilityLibrary libweb_engine. Start calling dlopen enginelibdir."); void *handle = dlopen(enginelibdir.c_str(), RTLD_NOW | RTLD_GLOBAL); if (handle == nullptr) { @@ -232,7 +232,7 @@ void AppSpawnServer::LoadAceLib() HiLog::Info(LABEL, "MainThread::LoadAbilityLibrary libweb_engine. End calling dlopen."); std::string execlibdir("/data/app/el1/bundle/public/com.ohos.nweb" - "/entry/libs/armeabi/libnweb_render.so"); + "/libs/arm/libnweb_render.so"); HiLog::Info(LABEL, "MainThread::LoadAbilityLibrary libnweb_render. Start calling dlopen execlibdir."); nwebHandle = dlopen(execlibdir.c_str(), RTLD_NOW | RTLD_GLOBAL); if (nwebHandle == nullptr) { -- Gitee