diff --git a/Source/Plugins/Plugin_PadSimpleEvnt/Src/SConscript b/Source/Plugins/Plugin_PadSimpleEvnt/Src/SConscript index 7d43cf153f..83a0ccbf0e 100644 --- a/Source/Plugins/Plugin_PadSimpleEvnt/Src/SConscript +++ b/Source/Plugins/Plugin_PadSimpleEvnt/Src/SConscript @@ -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)