Android 11 support 🎉

This commit is contained in:
topjohnwu
2020-04-19 02:35:28 -07:00
parent c9255ab31b
commit dfbd1305b3
3 changed files with 30 additions and 33 deletions

View File

@@ -57,9 +57,9 @@ static void (*android_update_LD_LIBRARY_PATH)(const char *ld_library_path);
}
#ifdef __LP64__
constexpr char apex_path[] = "/apex/com.android.runtime/lib64:";
constexpr char apex_path[] = "/apex/com.android.runtime/lib64:/apex/com.android.art/lib64:";
#else
constexpr char apex_path[] = "/apex/com.android.runtime/lib:";
constexpr char apex_path[] = "/apex/com.android.runtime/lib:/apex/com.android.art/lib:";
#endif
static int dl_init = 0;