diff options
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
| -rw-r--r-- | cpu_ref/rsCpuScript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp index f341b4e0..38a0bf57 100644 --- a/cpu_ref/rsCpuScript.cpp +++ b/cpu_ref/rsCpuScript.cpp @@ -223,6 +223,7 @@ static void *loadSharedLibrary(const char *cacheDir, const char *resName) { ALOGE("Unable to open shared library (%s): %s", scriptSOName.c_str(), dlerror()); +#ifdef RS_COMPATIBILITY_LIB // One final attempt to find the library in "/system/lib". // We do this to allow bundled applications to use the compatibility // library fallback path. Those applications don't have a private @@ -237,6 +238,7 @@ static void *loadSharedLibrary(const char *cacheDir, const char *resName) { ALOGE("Unable to open system shared library (%s): %s", scriptSONameSystem.c_str(), dlerror()); } +#endif } return loaded; |
