Browse Source

Update LOVE submodule.

Miku AuahDark 4 years ago
parent
commit
80078b3046
2 changed files with 3 additions and 1 deletions
  1. 1 1
      love/src/jni/love
  2. 2 0
      love/src/jni/lua-modules/lua-modules-readme.txt

+ 1 - 1
love/src/jni/love

@@ -1 +1 @@
-Subproject commit 216d5ca4b2ab04bd765daa4c23c00b81b4aedf08
+Subproject commit b79b99bbaa60fb283d160782e5b31f953b43760c

+ 2 - 0
love/src/jni/lua-modules/lua-modules-readme.txt

@@ -3,6 +3,8 @@ This folder should contain external Lua C modules that will be shipped along wit
 Each folder must contains:
 Each folder must contains:
 * Android.mk describing how to build the external Lua C module.
 * Android.mk describing how to build the external Lua C module.
   The LOCAL_MODULE_FILENAME must be set accordingly as ndk-build appends "lib" prefix from LOCAL_MODULE by default.
   The LOCAL_MODULE_FILENAME must be set accordingly as ndk-build appends "lib" prefix from LOCAL_MODULE by default.
+  For Lua includes and libraries, simply link the native library with "liblove".
+  Caveat: If the library is meant to be loaded as require("my.library") then you MUST set LOCAL_MODULE_FILENAME to my.library (with dots)
 * If your module interacts with Java-side, a file java.txt must contain where it should look Java source files.
 * If your module interacts with Java-side, a file java.txt must contain where it should look Java source files.
   Example, if you have src/java/your/package/name/MyFile.java, then you need to write "src/java" in java.txt.
   Example, if you have src/java/your/package/name/MyFile.java, then you need to write "src/java" in java.txt.
   If this file is absent, then your Java-side code will not be compiled along.
   If this file is absent, then your Java-side code will not be compiled along.