diff options
Diffstat (limited to 'Source/Core/InputCommon/Src/SConscript')
| -rw-r--r-- | Source/Core/InputCommon/Src/SConscript | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/Src/SConscript b/Source/Core/InputCommon/Src/SConscript index 1759516d5f..6b189be449 100644 --- a/Source/Core/InputCommon/Src/SConscript +++ b/Source/Core/InputCommon/Src/SConscript @@ -6,9 +6,7 @@ files = [ 'Configuration.cpp', 'ControllerEmu.cpp', 'InputConfig.cpp', - 'SDL_Util.cpp', 'ControllerInterface/ControllerInterface.cpp', - 'ControllerInterface/SDL/SDL.cpp', 'UDPWiimote.cpp', 'UDPWrapper.cpp' ] @@ -24,7 +22,8 @@ elif sys.platform == 'darwin': files += [ 'ControllerInterface/OSX/OSX.mm', 'ControllerInterface/OSX/OSXKeyboard.mm', - 'ControllerInterface/OSX/OSXMouse.mm' + 'ControllerInterface/OSX/OSXMouse.mm', + 'SDL_Util.cpp', # XXX needed by old Wiimote plugin ] else: files += [ @@ -32,4 +31,10 @@ else: 'X11InputBase.cpp' ] +if sys.platform == 'win32' or sys.platform == 'linux2': + files += [ + 'ControllerInterface/SDL/SDL.cpp', + 'SDL_Util.cpp', + ] + env.StaticLibrary(env['local_libs'] + "inputcommon", files) |
