This commit is contained in:
Vitor Santos Costa 2016-04-05 08:02:02 +01:00
parent 867c9ea47c
commit 7bf8a20f1b
2 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,9 @@ if (HAVE_LIBCRYPT)
endif (HAVE_LIBCRYPT)
target_link_libraries(sys libYap)
if (ANDROID)
target_link_libraries(sys android gmp)
endif()
set_target_properties (sys PROPERTIES PREFIX "")

View File

@ -304,9 +304,9 @@ list_directory(void)
#else
#if __ANDROID__
{
extern AAssetManager *assetManager;
extern AAssetManager *Yap_assetManager;
const char *dirName = buf+strlen("/assets/");
AAssetManager* mgr = assetManager;
AAssetManager* mgr = Yap_assetManager;
AAssetDir *de;
const char* dp;