mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
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)
|