mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
29
Externals/libpng/SConscript
vendored
Normal file
29
Externals/libpng/SConscript
vendored
Normal 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)
|
Reference in New Issue
Block a user