mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02:00
540238cf79
with static libraries. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7280 8ced0084-cf51-0410-be5f-012b33b47a6e
32 lines
501 B
Python
32 lines
501 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if env.has_key('shared_png') and env['shared_png']:
|
|
Return()
|
|
|
|
if env.has_key('HAVE_WX') and env['HAVE_WX']:
|
|
Return() # Currently using libwxpng
|
|
|
|
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.StaticLibrary('png', files)
|