mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
98e24f5873
problems, whole functions in .h files need to also be static in case they are included in several .cpp files. Also a few other minor LTO fixes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7082 8ced0084-cf51-0410-be5f-012b33b47a6e
30 lines
423 B
Python
30 lines
423 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if env.has_key('shared_zlib') and env['shared_zlib']:
|
|
env['LIBS'] += 'z'
|
|
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)
|