lzo compiles on linux (almost working)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@496 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7230dc58da
commit
e5a126e231
|
@ -0,0 +1,17 @@
|
|||
Import('env')
|
||||
|
||||
files = [
|
||||
"minilzo.c",
|
||||
]
|
||||
|
||||
def filterWarnings(flags):
|
||||
return ' '.join(
|
||||
flag
|
||||
for flag in flags.split()
|
||||
if not flag.startswith('-W')
|
||||
)
|
||||
env_lzo = env.Copy(
|
||||
CCFLAGS = filterWarnings(env['CCFLAGS']),
|
||||
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
|
||||
)
|
||||
env_lzo.StaticLibrary("lzo", files)
|
|
@ -40,12 +40,14 @@ include_paths = [
|
|||
'../../../Core/Core/Src',
|
||||
'../../../Core/DebuggerWX/src',
|
||||
'../../../../Externals/Bochs_disasm',
|
||||
'../../../../Externals/LZO',
|
||||
'../../../Core/VideoCommon/Src',
|
||||
]
|
||||
|
||||
dirs = [
|
||||
"Source/Core/Common/Src",
|
||||
"Externals/Bochs_disasm",
|
||||
"Externals/LZO",
|
||||
"Source/Core/Core/Src",
|
||||
"Source/Core/DiscIO/Src",
|
||||
"Source/Core/DebuggerWX/src",
|
||||
|
|
|
@ -86,4 +86,8 @@ files = ["Console.cpp",
|
|||
"HLE/HLE_Misc.cpp",
|
||||
"HLE/HLE_OS.cpp",
|
||||
]
|
||||
env.StaticLibrary("core", files, LIBS="bdisasm")
|
||||
libs = [
|
||||
'lzo', 'bdisasm'
|
||||
]
|
||||
|
||||
env.StaticLibrary("core", files, LIBS=libs)
|
||||
|
|
|
@ -17,7 +17,7 @@ files = [
|
|||
'cmdline.c',
|
||||
]
|
||||
libs = [
|
||||
'debwx', 'core', 'discio', 'bdisasm', 'videocommon', 'common', 'z'
|
||||
'debwx', 'core', 'lzo', 'discio', 'bdisasm', 'videocommon', 'common', 'z'
|
||||
]
|
||||
|
||||
wxenv = env.Copy()
|
||||
|
|
Loading…
Reference in New Issue