diff options
| author | Steven Moreland <smoreland@google.com> | 2017-12-13 14:11:26 -0800 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2017-12-13 14:11:26 -0800 |
| commit | 96bbc5ca87b0cfbcab3bd9e5fc49b71420bf3c08 (patch) | |
| tree | 1980633e8aa554996f4c16a85e0e976bf34d80fe /libc/bionic/__bionic_get_shell_path.cpp | |
| parent | 78b40e8fe1f37de319344c92d8e6e1eb595c1067 (diff) | |
Use treble_linker_namespace instead of treble.
More specific. Treble is being removed.
Bug: 62019611
Test: manual
Change-Id: I94c21c6a5cb6a258bfb36a0b7da23abdc73a67fb
Diffstat (limited to 'libc/bionic/__bionic_get_shell_path.cpp')
| -rw-r--r-- | libc/bionic/__bionic_get_shell_path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/__bionic_get_shell_path.cpp b/libc/bionic/__bionic_get_shell_path.cpp index 41162e93e..135281578 100644 --- a/libc/bionic/__bionic_get_shell_path.cpp +++ b/libc/bionic/__bionic_get_shell_path.cpp @@ -40,7 +40,7 @@ static const char* init_sh_path() { * in $PATH for the vendor shell, simply return the system shell. */ -#ifdef __ANDROID_TREBLE__ +#ifdef TREBLE_LINKER_NAMESPACES /* look for /system or /vendor prefix */ char exe_path[strlen(VENDOR_PREFIX)]; ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); |
