mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-16 11:09:16 +01:00
addb89fecc
Move bits of HAVE_OPENCL/HAVE_WX for OS X from SConstruct to header files. Use /usr/lib/libz on OS X now that we no longer have -L/opt/local/lib in the library path. It is still possible that we could pick up a libz in /usr/local/lib that would make the application non-redistributable, but the danger is much less than previously. Also bits of minor portability cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5868 8ced0084-cf51-0410-be5f-012b33b47a6e
45 lines
712 B
Python
45 lines
712 B
Python
# -*- python -*-
|
|
|
|
import sys
|
|
Import('env')
|
|
|
|
luaenv = env.Clone()
|
|
|
|
if not sys.platform == 'win32':
|
|
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',
|
|
]
|
|
|
|
luaenv.StaticLibrary(env['local_libs'] + "lua", files)
|