android
This commit is contained in:
parent
867c9ea47c
commit
7bf8a20f1b
@ -24,6 +24,9 @@ if (HAVE_LIBCRYPT)
|
|||||||
endif (HAVE_LIBCRYPT)
|
endif (HAVE_LIBCRYPT)
|
||||||
|
|
||||||
target_link_libraries(sys libYap)
|
target_link_libraries(sys libYap)
|
||||||
|
if (ANDROID)
|
||||||
|
target_link_libraries(sys android gmp)
|
||||||
|
endif()
|
||||||
|
|
||||||
set_target_properties (sys PROPERTIES PREFIX "")
|
set_target_properties (sys PROPERTIES PREFIX "")
|
||||||
|
|
||||||
|
@ -304,9 +304,9 @@ list_directory(void)
|
|||||||
#else
|
#else
|
||||||
#if __ANDROID__
|
#if __ANDROID__
|
||||||
{
|
{
|
||||||
extern AAssetManager *assetManager;
|
extern AAssetManager *Yap_assetManager;
|
||||||
const char *dirName = buf+strlen("/assets/");
|
const char *dirName = buf+strlen("/assets/");
|
||||||
AAssetManager* mgr = assetManager;
|
AAssetManager* mgr = Yap_assetManager;
|
||||||
AAssetDir *de;
|
AAssetDir *de;
|
||||||
const char* dp;
|
const char* dp;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user