调整mips库目录路径名称导致加载不到动态库文件

This commit is contained in:
luoliangyi 2023-08-04 00:37:33 +08:00
parent 896f524226
commit 40228312b4
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ HGResult HGSaneManagerImpl::Create()
pr.first = manuName;
char sanePath[256];
if (archName == "mips64")
archName += "el";
sprintf(sanePath, "/usr/lib/%s-linux-gnu/sane/libsane-%s.so.1", archName.c_str(), manuName.c_str());
pr.second = sanePath;