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