Fixed lua check
The test program was missing #include <lauxlib.h> but used luaL_newstate() which is defined in it.
This commit is contained in:
parent
9b3d75f618
commit
cf831db47b
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ def CheckLua(context, require_version):
|
|||
|
||||
result = found and context.TryLink("""
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
int main() { luaL_newstate(); }
|
||||
""", ".c")
|
||||
if result:
|
||||
|
|
Loading…
Add table
Reference in a new issue