dolphin/Source/Plugins/Plugin_GCPad/Src/SConscript
nakeee 156e357164 fix linux gcpad symbol missing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4943 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 06:57:06 +00:00

28 lines
467 B
Python

# -*- python -*-
Import('env')
import sys
name = "Plugin_GCPad"
padenv = env.Clone()
if not env['HAVE_SDL']:
print name + " must have SDL to be build"
Return()
files = [
'Config.cpp',
'GCPad.cpp',
'Rumble.cpp',
]
if padenv['HAVE_WX']:
files += [
'ConfigJoypad.cpp',
'ConfigBox.cpp',
]
padenv.Append(
LIBS = [ 'inputcommon', 'common', ],
)
padenv.SharedLibrary(env['plugin_dir']+name, files)