Soren Jorvang aa998896ac Allow C code to use the Dolphin log manager so that Wiiuse text output
can go to the log window like with other subsystems.

Remove a Wiiuse dependency on libm from when it was a shared library.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5885 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16 19:08:26 +00:00

25 lines
423 B
Python

# -*- python -*-
import sys
Import('env')
if (sys.platform == 'linux2' and env['HAVE_BLUEZ'] != 1):
env['HAVE_WIIUSE'] = 0
Return()
files = [
"io.c",
"ir.c",
"wiiuse.c",
]
if sys.platform == 'linux2' and env['HAVE_BLUEZ']:
files += [ "io_nix.c", ]
if sys.platform == 'darwin':
files += [ "io_osx.m", ]
env.StaticLibrary(env['local_libs'] + "wiiuse", files)
env['HAVE_WIIUSE'] = 1