Fixed up padsimpleevnt sconscript

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1690 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-26 13:02:18 +00:00
parent fe3cd168f0
commit 8819ac74c4

View File

@ -3,27 +3,22 @@
Import('env') Import('env')
import sys import sys
name = "Plugin_PadSimple" name = "Plugin_PadSimpleEvnt"
if not env['HAVE_X11']: if not env['GLTEST']:
print name + " must have X11 to be build" print name + " Doesn't work without testgl"
Return()
if env['GLTEST']:
print name + " Doesn't work with testgl"
Return() Return()
files = [ files = [
"PadSimple.cpp", "PadSimple.cpp",
] ]
padenv = env.Clone() padeenv = env.Clone()
if padenv['HAVE_WX']: if padeenv['HAVE_WX']:
files += [ files += [
"GUI/ConfigDlg.cpp", "GUI/ConfigDlg.cpp",
"XInputBase.cpp",
] ]
padenv.Append(LIBS = [ 'common' ]) padeenv.Append(LIBS = [ 'common' ])
padenv.SharedLibrary(env['plugin_dir']+name, files) padeenv.SharedLibrary(env['plugin_dir']+name, files)