mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
13
Externals/SDL/SConscript
vendored
13
Externals/SDL/SConscript
vendored
@ -10,7 +10,14 @@ files = [
|
||||
'src/joystick/SDL_joystick.c',
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
if sys.platform.count('bsd'):
|
||||
env['LIBS'] += ['usbhid']
|
||||
files += [
|
||||
'src/joystick/bsd/SDL_sysjoystick.c',
|
||||
'src/stdlib/SDL_malloc.c',
|
||||
'src/stdlib/SDL_string.c',
|
||||
]
|
||||
elif sys.platform == 'darwin':
|
||||
files += [
|
||||
'src/joystick/darwin/SDL_sysjoystick.c',
|
||||
]
|
||||
@ -19,6 +26,10 @@ elif sys.platform == 'linux2':
|
||||
'src/joystick/linux/SDL_sysjoystick.c',
|
||||
'src/stdlib/SDL_string.c',
|
||||
]
|
||||
elif sys.platform == 'win32':
|
||||
files += [
|
||||
'src/joystick/win32/SDL_mmjoystick.c',
|
||||
]
|
||||
else:
|
||||
files += [
|
||||
'src/joystick/dummy/SDL_sysjoystick.c',
|
||||
|
Reference in New Issue
Block a user