!1474 wifi_hal_service适配x86模拟器镜像

Merge pull request !1474 from 余海天/master
This commit is contained in:
openharmony_ci 2023-11-22 04:26:10 +00:00 committed by Gitee
commit 58024847ca
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -92,7 +92,7 @@ static void *WpaThreadMain(void *p)
#ifdef OHOS_ARCH_LITE
void *handleLibWpa = dlopen("libwpa.so", RTLD_NOW | RTLD_LOCAL);
#else
#ifdef __aarch64__
#if defined(__aarch64__) || defined(__x86_64__)
void *handleLibWpa = dlopen("/system/lib64/libwpa.z.so", RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE);
#else
void *handleLibWpa = dlopen("/system/lib/libwpa.z.so", RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE);