mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
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
17
Externals/LZO/SConscript
vendored
Normal file
17
Externals/LZO/SConscript
vendored
Normal file
@ -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/Core/Src',
|
||||||
'../../../Core/DebuggerWX/src',
|
'../../../Core/DebuggerWX/src',
|
||||||
'../../../../Externals/Bochs_disasm',
|
'../../../../Externals/Bochs_disasm',
|
||||||
|
'../../../../Externals/LZO',
|
||||||
'../../../Core/VideoCommon/Src',
|
'../../../Core/VideoCommon/Src',
|
||||||
]
|
]
|
||||||
|
|
||||||
dirs = [
|
dirs = [
|
||||||
"Source/Core/Common/Src",
|
"Source/Core/Common/Src",
|
||||||
"Externals/Bochs_disasm",
|
"Externals/Bochs_disasm",
|
||||||
|
"Externals/LZO",
|
||||||
"Source/Core/Core/Src",
|
"Source/Core/Core/Src",
|
||||||
"Source/Core/DiscIO/Src",
|
"Source/Core/DiscIO/Src",
|
||||||
"Source/Core/DebuggerWX/src",
|
"Source/Core/DebuggerWX/src",
|
||||||
|
@ -86,4 +86,8 @@ files = ["Console.cpp",
|
|||||||
"HLE/HLE_Misc.cpp",
|
"HLE/HLE_Misc.cpp",
|
||||||
"HLE/HLE_OS.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',
|
'cmdline.c',
|
||||||
]
|
]
|
||||||
libs = [
|
libs = [
|
||||||
'debwx', 'core', 'discio', 'bdisasm', 'videocommon', 'common', 'z'
|
'debwx', 'core', 'lzo', 'discio', 'bdisasm', 'videocommon', 'common', 'z'
|
||||||
]
|
]
|
||||||
|
|
||||||
wxenv = env.Copy()
|
wxenv = env.Copy()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user