mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
52d3137598
had SSE3. Keep -msse2 on other platforms. Not sure if there are actually any Dolphin-capable machines out there without SSE3, but.. Use -search_paths_first to give our statically linked libraries precedence over /usr/local/lib. Some work-in-progress changes to facilitate a more easily redistributable application bundle on OS X. Group compiler/preprocessor/linker flags together to make the full set more intuitively apparent. The various libraries in Externals have rather inconsistent conventions for include paths. Best to encapsulate that knowledge in foo/SConscript. Re-use utils.GenerateRevFile for all three places in the build system where we need the SVN revision number. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6030 8ced0084-cf51-0410-be5f-012b33b47a6e
25 lines
361 B
Python
25 lines
361 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
if env.has_key('shared_zlib') and env['shared_zlib']:
|
|
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.StaticLibrary(env['local_libs'] + "z", files)
|
|
env['CPPPATH'] += ['#Externals/zlib']
|