summaryrefslogtreecommitdiff
path: root/Externals/Lua/SConscript
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-07-19 03:42:37 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-07-19 03:42:37 +0000
commita2b1f829cb1064ff57ee0a3f6d41a7fd1b672dab (patch)
tree9affc15a87790792a6d24abd15e689201daeb7a9 /Externals/Lua/SConscript
parent4ecfa3b7a214288bee6524a72171360d85b261e5 (diff)
Get rid of a number of unnecessary env.Clones.
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Externals/Lua/SConscript')
-rw-r--r--Externals/Lua/SConscript68
1 files changed, 34 insertions, 34 deletions
diff --git a/Externals/Lua/SConscript b/Externals/Lua/SConscript
index 520ed8b17b..ab8496d3e9 100644
--- a/Externals/Lua/SConscript
+++ b/Externals/Lua/SConscript
@@ -1,44 +1,44 @@
-# -*- python -*-
+# -*- python -*-
-import sys
Import('env')
+import sys
luaenv = env.Clone()
if not sys.platform == 'win32':
- luaenv['CPPDEFINES'].append('LUA_USE_LINUX') # Also works for OS X
+ luaenv['CPPDEFINES'].append('LUA_USE_LINUX') # Also works for OS X
files = [
- 'lapi.c',
- 'lauxlib.c',
- 'lbaselib.c',
- 'lcode.c',
- 'ldblib.c',
- 'ldebug.c',
- 'ldo.c',
- 'ldump.c',
- 'lfunc.c',
- 'lgc.c',
- 'linit.c',
- 'liolib.c',
- 'llex.c',
- 'lmathlib.c',
- 'lmem.c',
- 'loadlib.c',
- 'lobject.c',
- 'lopcodes.c',
- 'loslib.c',
- 'lparser.c',
- 'lstate.c',
- 'lstring.c',
- 'lstrlib.c',
- 'ltable.c',
- 'ltablib.c',
- 'ltm.c',
- 'lundump.c',
- 'lvm.c',
- 'lzio.c',
- 'print.c',
- ]
+ 'lapi.c',
+ 'lauxlib.c',
+ 'lbaselib.c',
+ 'lcode.c',
+ 'ldblib.c',
+ 'ldebug.c',
+ 'ldo.c',
+ 'ldump.c',
+ 'lfunc.c',
+ 'lgc.c',
+ 'linit.c',
+ 'liolib.c',
+ 'llex.c',
+ 'lmathlib.c',
+ 'lmem.c',
+ 'loadlib.c',
+ 'lobject.c',
+ 'lopcodes.c',
+ 'loslib.c',
+ 'lparser.c',
+ 'lstate.c',
+ 'lstring.c',
+ 'lstrlib.c',
+ 'ltable.c',
+ 'ltablib.c',
+ 'ltm.c',
+ 'lundump.c',
+ 'lvm.c',
+ 'lzio.c',
+ 'print.c',
+ ]
luaenv.StaticLibrary(env['local_libs'] + "lua", files)