dolphin/Externals/zlib/SConscript
Soren Jorvang 38950e421b Clean up shared_foo handling.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7183 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-16 13:36:41 +00:00

32 lines
443 B
Python

# -*- python -*-
Import('env')
import sys
if env.has_key('shared_zlib') and env['shared_zlib']:
Return()
if sys.platform == 'darwin':
Return()
files = [
'adler32.c',
'compress.c',
'crc32.c',
'deflate.c',
'gzclose.c',
'gzlib.c',
'gzread.c',
'gzwrite.c',
'infback.c',
'inffast.c',
'inflate.c',
'inftrees.c',
'trees.c',
'uncompr.c',
'zutil.c',
]
env['CPPPATH'] += ['#Externals/zlib']
env['LIBS'] += env.StaticObject(files)