mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
064d45024c
Fix up so that various libraries wont be fatal for build with scons wiiuse lib is used only if HAVE_WIIUSE is defined to 1 made major cleanup for darwin and osx64 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
33 lines
555 B
Python
33 lines
555 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
|
|
if not env['HAVE_BLUEZ']:
|
|
env['HAVE_WIIUSE'] = 0
|
|
Return()
|
|
|
|
files = [
|
|
"classic.c",
|
|
"dynamics.c",
|
|
"events.c",
|
|
"io.c",
|
|
"io_nix.c",
|
|
"ir.c",
|
|
"nunchuk.c",
|
|
"guitar_hero_3.c",
|
|
"wiiuse.c",
|
|
]
|
|
|
|
env_wiiuse = env.Clone(
|
|
CCFLAGS = env.filterWarnings(env['CCFLAGS']) + ' -fvisibility=default',
|
|
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
|
)
|
|
|
|
libs = [
|
|
'm',
|
|
]
|
|
|
|
env_wiiuse.SharedLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)
|
|
|
|
env['HAVE_WIIUSE'] = 1
|