msm8976-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
lineage-17.1
Wang Han 5 years ago committed by ripee
parent 08ebba53cf
commit 9d7432ca2a

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

Loading…
Cancel
Save