From 98286a24bce14627295230fd3b846abf9641c086 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 14 Apr 2017 09:26:11 +0200 Subject: Fix android build --- build/android/Makefile | 5 ++++- build/android/jni/Android.mk | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'build') 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 \ -- cgit v1.2.3