Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] Fix cpp_rpc build for android with NDK>=23 (#13118)
With NDK>= 23 when we specify explicitly linker then we got the following error: ``` ld.gold: --no-rosegment: unknown option ``` From the github repository of NDK, I found that the only one right way to configure linker is using `-DANDROID_LD` variable: android/ndk#1426 (comment) Removed setting linker manually and by default `LLD` will be used. Checked that it works on the following versions of NDK: - 20.0.5594570 - 21.4.7075529 - 22.1.7171670 - 23.0.7599858 - 23.1.7779620 - 24.0.8215888 - 25.1.8937393
- Loading branch information