mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
10
Externals/WiiUseSrc/Src/SConscript
vendored
10
Externals/WiiUseSrc/Src/SConscript
vendored
@ -1,8 +1,9 @@
|
||||
# -*- python -*-
|
||||
|
||||
import sys
|
||||
Import('env')
|
||||
|
||||
if not env['HAVE_BLUEZ']:
|
||||
if not (env['HAVE_BLUEZ'] or sys.platform == 'darwin'):
|
||||
env['HAVE_WIIUSE'] = 0
|
||||
Return()
|
||||
|
||||
@ -11,13 +12,18 @@ files = [
|
||||
"dynamics.c",
|
||||
"events.c",
|
||||
"io.c",
|
||||
"io_nix.c",
|
||||
"ir.c",
|
||||
"nunchuk.c",
|
||||
"guitar_hero_3.c",
|
||||
"wiiuse.c",
|
||||
]
|
||||
|
||||
if env['HAVE_BLUEZ']:
|
||||
files += [ "io_nix.c", ]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
files += [ "io_osx.c", ]
|
||||
|
||||
env_wiiuse = env.Clone(
|
||||
CCFLAGS = env.filterWarnings(env['CCFLAGS']) + ' -fvisibility=default',
|
||||
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
||||
|
Reference in New Issue
Block a user