Revert "Temporary disable linker-namespaces"
This reverts commit c18ac7cd2b
.
This commit is contained in:
parent
727aeb6686
commit
619ffb4f5b
|
@ -138,7 +138,7 @@ void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* pat
|
|||
jobject class_loader, bool is_shared, jstring java_library_path,
|
||||
jstring java_permitted_path) {
|
||||
#if defined(__ANDROID__)
|
||||
if (target_sdk_version <= INT_MAX || class_loader == nullptr) {
|
||||
if (target_sdk_version == 0 || class_loader == nullptr) {
|
||||
return dlopen(path, RTLD_NOW);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue