|
|
634310f |
diff -up tolua++-1.0.93/config_linux.py.lua51 tolua++-1.0.93/config_linux.py
|
|
|
634310f |
--- tolua++-1.0.93/config_linux.py.lua51 2005-11-30 23:31:27.000000000 +0100
|
|
|
634310f |
+++ tolua++-1.0.93/config_linux.py 2013-08-03 12:26:16.260951919 +0200
|
|
|
634310f |
@@ -4,7 +4,7 @@
|
|
|
634310f |
|
|
|
634310f |
# Compiler flags (based on Debian's installation of lua)
|
|
|
634310f |
#LINKFLAGS = ['-g']
|
|
|
634310f |
-CCFLAGS = ['-I/usr/include/lua50', '-O2', '-ansi', '-Wall']
|
|
|
634310f |
+CCFLAGS = ['-I/usr/include/lua51', '-O2', '-ansi', '-Wall']
|
|
|
634310f |
#CCFLAGS = ['-I/usr/include/lua50', '-g']
|
|
|
634310f |
|
|
|
634310f |
# this is the default directory for installation. Files will be installed on
|
|
|
634310f |
@@ -18,5 +18,5 @@ CCFLAGS = ['-I/usr/include/lua50', '-O2'
|
|
|
634310f |
prefix = '/usr/local'
|
|
|
634310f |
|
|
|
634310f |
# libraries (based on Debian's installation of lua)
|
|
|
634310f |
-LIBS = ['lua50', 'lualib50', 'dl', 'm']
|
|
|
634310f |
+LIBS = ['lua-5.1', 'dl', 'm']
|
|
|
634310f |
|
|
|
634310f |
diff -up tolua++-1.0.93/custom.py.lua51 tolua++-1.0.93/custom.py
|
|
|
634310f |
--- tolua++-1.0.93/custom.py.lua51 2013-08-03 12:23:41.400953222 +0200
|
|
|
634310f |
+++ tolua++-1.0.93/custom.py 2013-08-03 12:23:41.400953222 +0200
|
|
|
634310f |
@@ -0,0 +1,9 @@
|
|
|
634310f |
+CCFLAGS = ['-O2', '-ansi']
|
|
|
634310f |
+#LIBPATH = ['/usr/local/lib']
|
|
|
634310f |
+LIBS = ['lua-5.1', 'dl', 'm']
|
|
|
634310f |
+prefix = '/usr'
|
|
|
634310f |
+build_dev=1
|
|
|
634310f |
+tolua_bin = 'tolua++'
|
|
|
634310f |
+tolua_lib = 'tolua++-5.1'
|
|
|
634310f |
+TOLUAPP = 'tolua++-5.1'
|
|
|
634310f |
+
|