diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-14 09:26:11 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-14 09:26:11 +0200 |
commit | 98286a24bce14627295230fd3b846abf9641c086 (patch) | |
tree | 059b9daba452dd2e58e338eadd2365fbec622f27 /build | |
parent | e80a83d1cb9d01273ddca1c075c25cd01c291ca7 (diff) | |
download | minetest-98286a24bce14627295230fd3b846abf9641c086.tar.gz minetest-98286a24bce14627295230fd3b846abf9641c086.tar.bz2 minetest-98286a24bce14627295230fd3b846abf9641c086.zip |
Fix android build
Diffstat (limited to 'build')
-rw-r--r-- | build/android/Makefile | 5 | ||||
-rw-r--r-- | build/android/jni/Android.mk | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/build/android/Makefile b/build/android/Makefile index d261a0e95..22700da93 100644 --- a/build/android/Makefile +++ b/build/android/Makefile @@ -795,7 +795,10 @@ install_release: prep_srcdir : @if [ ! -e ${ANDR_ROOT}/jni/src ]; then \ - ln -s ${PROJ_ROOT}/src ${ANDR_ROOT}/jni/src; \ + ln -s ${PROJ_ROOT}/src ${ANDR_ROOT}/jni/src; \ + fi; \ + if [ ! -e ${ANDR_ROOT}/jni/lib ]; then \ + ln -s ${PROJ_ROOT}/lib ${ANDR_ROOT}/jni/lib; \ fi clean_apk : diff --git a/build/android/jni/Android.mk b/build/android/jni/Android.mk index 66c61029e..fd104db06 100644 --- a/build/android/jni/Android.mk +++ b/build/android/jni/Android.mk @@ -309,6 +309,7 @@ LOCAL_SRC_FILES += \ jni/src/script/lua_api/l_inventory.cpp \ jni/src/script/lua_api/l_item.cpp \ jni/src/script/lua_api/l_itemstackmeta.cpp\ + jni/src/script/lua_api/l_localplayer.cpp \ jni/src/script/lua_api/l_mainmenu.cpp \ jni/src/script/lua_api/l_mapgen.cpp \ jni/src/script/lua_api/l_metadata.cpp \ |