mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2025-03-03 01:56:31 +00:00
update adapter/appspawn_ace.cpp.
修改libace的绝对路径 Signed-off-by: tanding <tanding1@huawei.com>
This commit is contained in:
parent
3b1c6edd1d
commit
cb0532b649
@ -30,11 +30,7 @@ static const bool DEFAULT_PRELOAD_VALUE = true;
|
||||
|
||||
void LoadExtendLib(AppSpawnContent *content)
|
||||
{
|
||||
#if defined (__aarch64__) || defined (__x86_64__)
|
||||
const char *acelibdir("/system/lib64/libace.z.so");
|
||||
#else
|
||||
const char *acelibdir("/system/lib/libace.z.so");
|
||||
#endif
|
||||
const char *acelibdir("libace.z.so");
|
||||
APPSPAWN_LOGI("LoadExtendLib: Start calling dlopen acelibdir.");
|
||||
void *aceAbilityLib = NULL;
|
||||
aceAbilityLib = dlopen(acelibdir, RTLD_NOW | RTLD_GLOBAL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user