mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06: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:
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)
|
Reference in New Issue
Block a user