mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
f00a909103
libpng so it can be maintained independently of wxWidgets. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7172 8ced0084-cf51-0410-be5f-012b33b47a6e
30 lines
437 B
Python
30 lines
437 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if env.has_key('shared_libpng') and env['shared_libpng']:
|
|
env['LIBS'] += 'png'
|
|
Return()
|
|
|
|
files = [
|
|
'png.c',
|
|
'pngerror.c',
|
|
'pngget.c',
|
|
'pngmem.c',
|
|
'pngpread.c',
|
|
'pngread.c',
|
|
'pngrio.c',
|
|
'pngrtran.c',
|
|
'pngrutil.c',
|
|
'pngset.c',
|
|
'pngtrans.c',
|
|
'pngwio.c',
|
|
'pngwrite.c',
|
|
'pngwtran.c',
|
|
'pngwutil.c',
|
|
]
|
|
|
|
env['CPPPATH'] += ['#Externals/libpng']
|
|
env['LIBS'] += env.StaticObject(files)
|