Allow building with Externals/wxWidgets3 on Linux and import

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
This commit is contained in:
Soren Jorvang
2011-02-14 21:25:08 +00:00
parent ae4c8c81ac
commit f00a909103
27 changed files with 28331 additions and 28 deletions

29
Externals/libpng/SConscript vendored Normal file
View File

@ -0,0 +1,29 @@
# -*- 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)