From f518f75f1fa0919214c0d3b30c975d8dda87002c Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Thu, 19 Sep 2019 14:31:56 +0800 Subject: [PATCH] msm8974-common: Extend sphal search paths for media swcodec * Legacy devices do not have vndk-sp, so we have to add /system/{LIB} to sphal search paths to make sure linker can find the according libraries successfully. Change-Id: I95b4b4cc9b187ce2b3a50e4e4d1e4940f36e087d --- configs/ld.config.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/ld.config.txt b/configs/ld.config.txt index a5937fd..f9124ab 100644 --- a/configs/ld.config.txt +++ b/configs/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