diff --git a/apex/ld.config.txt b/apex/ld.config.txt index f56e1b5f27..bd6af83585 100644 --- a/apex/ld.config.txt +++ b/apex/ld.config.txt @@ -22,6 +22,12 @@ namespace.default.visible = true namespace.default.search.paths = /apex/com.android.media.swcodec/${LIB} namespace.default.asan.search.paths = /apex/com.android.media.swcodec/${LIB} +# Below lines are required to be able to access libs in APEXes which are +# actually symlinks to the files under /system/lib. The symlinks exist for +# bundled APEXes to reduce space. +namespace.default.permitted.paths = /system/${LIB} +namespace.default.asan.permitted.paths = /system/${LIB} + namespace.default.links = platform # TODO: replace the following when apex has a way to auto-generate this list