From 358d25cb8963ad962853513f6a129afab018567a Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Thu, 19 Sep 2019 14:31:56 +0800 Subject: shinano-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/media/ld.config.txt | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3