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
This commit is contained in:
Wang Han 2019-09-19 14:31:56 +08:00 committed by Kevin F. Haggerty
parent 853a30dffe
commit f518f75f1f
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -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