This commit is contained in:
zeromus 2010-07-02 07:49:03 +00:00
parent 13c6912cbc
commit 69deb66c96
1 changed files with 1 additions and 1 deletions

View File

@ -70,6 +70,7 @@ else:
### Lua platform defines
### Applies to all files even though only lua needs it, but should be ok
if env['LUA']:
env.Append(CPPDEFINES=["_S9XLUA_H"])
if env['PLATFORM'] == 'darwin':
# Define LUA_USE_MACOSX otherwise we can't bind external libs from lua
env.Append(CCFLAGS = ["-DLUA_USE_MACOSX"])
@ -93,7 +94,6 @@ else:
# parse SDL cflags/libs
env.ParseConfig('sdl-config --cflags --libs')
env.Append(CPPDEFINES=["_S9XLUA_H"])
env = conf.Finish()
if sys.byteorder == 'little' or env['PLATFORM'] == 'win32':