diff options
author | Wang Han <416810799@qq.com> | 2019-09-19 14:31:56 +0800 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-03-16 16:59:35 +0100 |
commit | 358d25cb8963ad962853513f6a129afab018567a (patch) | |
tree | ca5dfe519ee09d3c7337d9a4fa65f4bf16fa0af4 | |
parent | cec16ee2acd00b668f46608b38e2c373422dbd9a (diff) |
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
-rw-r--r-- | configs/media/ld.config.txt | 3 |
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 |