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:
1 parent
ae4c8c81ac
commit
f00a909103
27 files changed
+28331
-28
No files matched your search
Vendored
+29
@@ -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)
|
||||
Reference in new issue
Block a user