bluez detection

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1396 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-04 15:15:21 +00:00
parent f767128244
commit a54e7ba3ad
2 changed files with 7 additions and 1 deletions

View File

@ -20,6 +20,6 @@ env_wiiuse = env.Clone(
)
libs = [
'm', 'bluetooth',
'm',
]
env_wiiuse.SharedLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)

View File

@ -182,6 +182,9 @@ if not env['osx64']:
if not conf.CheckSDL('1.0.0'):
Exit(1)
if not conf.CheckPKG('bluez'):
Exit(1)
if not env['osx64']:
if not conf.CheckPKG('ao'):
Exit(1)
@ -219,6 +222,9 @@ if not env['osx64']:
if not env['osx64']:
env.ParseConfig('pkg-config --cflags --libs ao')
# bluetooth for wii
env.ParseConfig('pkg-config --cflags --libs bluez')
# add methods from utils to env
env.AddMethod(utils.filterWarnings)