openresty / luajit2

OpenResty's Branch of LuaJIT 2
https://luajit.org/luajit.html
Other
1.2k stars 193 forks source link

minilua android build #156

Closed maximegmd closed 2 years ago

maximegmd commented 2 years ago

Hi,

I am trying to build the project for multiple platforms, everything works fine except for android, minilua includes limits.h that itself includes a header that does not exist in NDK.

https://stackoverflow.com/questions/52196472/using-ubuntu-header-lib-in-android-ndk

fsfod commented 2 years ago

minilua is only needed in the build system because the host system might not have a Lua interpreter installed, the makefile can be set to use a system provided one with the HOST_LUA make variable.

maximegmd commented 2 years ago

Thanks, that makes sense!