diff options
author | Sven Gothel <[email protected]> | 2019-12-23 23:50:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-12-23 23:50:54 +0100 |
commit | 26d06324312b8fe6980ff29ab9d443cc5ec2657f (patch) | |
tree | fb3a870d228964f93671c6c1217d93fbb3331fdb /test/TestMultiAndFatJar | |
parent | 53ae28fd2bc501b5de54fdbdf915d88f823eb11a (diff) |
Bug 1417 - Android: Classify SYSROOTs in NDK for native libraries (link) and headers (compile)
Utilizing '-sysroot' with the linker, we require standard FS layout.
'~/Android/Sdk/ndk/20.1.5948944/platforms/android-24/arch-arm64'
contains the proper std FS layout for libraries under usr/lib,
but lacks the header files.
We call this 'ANDROID_TOOLCHAIN_SYSROOT0' and shall be used for linking.
'~/Android/Sdk/ndk/20.1.5948944/toolchains/llvm/prebuilt/linux-x86_64/sysroot'
native libraries are not under std FS layout,
but headers are under std FS layout for compilation under usr/include.
We call this 'ANDROID_TOOLCHAIN_SYSROOT1' and shall be used for compilation.
Identified while working on openal-soft Android compilation,
where we need to pass ANDROID_TOOLCHAIN_SYSROOT0
Diffstat (limited to 'test/TestMultiAndFatJar')
0 files changed, 0 insertions, 0 deletions