ld.config.txt: Link vendor vndk ns to default ns
This commit links the vndk namespace of vendor processes to the default namespace of vendor processes. allow_all_shared_libs is specified so that VNDK extensions can link with other vendor libraries in /vendor/lib[64]. Bug: 69824336 Test: Create a vndk-ext lib that links to vendor lib and use that vndk-ext lib in a vendor executable. Change-Id: Ibd3dc2e5f0f2e6ff9fc9677c6bcfcf87a1a70e50
This commit is contained in:
parent
c6805c3e9c
commit
ea4a2bdd44
|
@ -285,10 +285,12 @@ namespace.vndk.asan.search.paths += /system/${LIB}/vndk%VNDK_VER%
|
|||
# When these NDK libs are required inside this namespace, then it is redirected
|
||||
# to the system namespace. This is possible since their ABI is stable across
|
||||
# Android releases.
|
||||
namespace.vndk.links = system
|
||||
namespace.vndk.links = system,default
|
||||
namespace.vndk.link.system.shared_libs = %LLNDK_LIBRARIES%
|
||||
namespace.vndk.link.system.shared_libs += %SANITIZER_RUNTIME_LIBRARIES%
|
||||
|
||||
namespace.vndk.link.default.allow_all_shared_libs = true
|
||||
|
||||
###############################################################################
|
||||
# "system" namespace
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue