Revert "Temporary disable linker-namespaces"

This reverts commit c18ac7cd2b.
This commit is contained in:
Dimitry Ivanov 2015-12-15 15:55:50 -08:00
parent 727aeb6686
commit 619ffb4f5b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}