Author: loonycyborg
Date: Tue Jun 23 02:53:35 2009
New Revision: 36355
URL: http://svn.gna.org/viewcvs/wesnoth?rev=36355&view=rev
Log:
Fixed lua check
The test program was missing #include <lauxlib.h> but
used luaL_newstate() which is defined in it.
Modified:
trunk/scons/lua.py
Modified: trunk/scons/lua.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/scons/lua.py?rev=36355&r1=36354&r2=36355&view=diff
==============================================================================
--- trunk/scons/lua.py (original)
+++ trunk/scons/lua.py Tue Jun 23 02:53:35 2009
@@ -28,6 +28,7 @@
result = found and context.TryLink("""
#include <lualib.h>
+ #include <lauxlib.h>
int main() { luaL_newstate(); }
""", ".c")
if result:
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits