Android fix for magic tools under 64 bits devices by Terrence Sheflin, see 345d3cc78a
This commit is contained in:
parent
79c246976c
commit
73c1cabac1
3 changed files with 15 additions and 2 deletions
|
|
@ -20338,8 +20338,7 @@ static void load_magic_plugins(void)
|
|||
{
|
||||
#if defined (__ANDROID__)
|
||||
/* Need this at runtime as Android installs on different locations depending on the user */
|
||||
place = strdup(SDL_AndroidGetInternalStoragePath());
|
||||
strcpy(strstr(place, "/files"), "/lib/");
|
||||
place = strdup(get_nativelibdir());
|
||||
#else
|
||||
place = strdup(MAGIC_PREFIX);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue