dolphin/Externals/zlib/SConscript

30 lines
421 B
Python

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