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 sys
name = "Plugin_PadSimple"
name = "Plugin_PadSimpleEvnt"
if not env['HAVE_X11']:
print name + " must have X11 to be build"
Return()
if env['GLTEST']:
print name + " Doesn't work with testgl"
if not env['GLTEST']:
print name + " Doesn't work without testgl"
Return()
files = [
"PadSimple.cpp",
]
padenv = env.Clone()
padeenv = env.Clone()
if padenv['HAVE_WX']:
if padeenv['HAVE_WX']:
files += [
"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)