summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/media/ld.config.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/media/ld.config.txt b/configs/media/ld.config.txt
index a5937fd..f9124ab 100644
--- a/configs/media/ld.config.txt
+++ b/configs/media/ld.config.txt
@@ -90,6 +90,9 @@ namespace.sphal.search.paths += /odm/${LIB}/vndk-sp
namespace.sphal.search.paths += /vendor/${LIB}/vndk-sp
namespace.sphal.search.paths += /system/${LIB}/vndk-sp${VNDK_VER}
+# Legacy devices do not have vndk-sp, so add /system/${LIB} to search path instead
+namespace.sphal.search.paths += /system/${LIB}
+
namespace.sphal.permitted.paths += /odm/${LIB}/hw
namespace.sphal.permitted.paths += /odm/${LIB}/egl
namespace.sphal.permitted.paths += /vendor/${LIB}/hw