Function crossbundle_tools::commands::android::apk::recursively_define_needed_libs
source · [−]pub fn recursively_define_needed_libs(
(lib_name, lib_path): (String, PathBuf),
readelf_path: &Path,
libcpp_shared_path: &Path,
system_libs: &[String],
dylibs_paths: &[PathBuf],
needed_libs: &mut Vec<(String, PathBuf)>
) -> Result<()>
Expand description
Update needed_libs
hashset with given lib and all related libs.
Note: libc++ is not a system lib. If you use libc++_shared.so, it must be included in
your APK. https://developer.android.com/ndk/guides/cpp-support