port audio detection fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2566 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-03-06 14:48:39 +00:00
parent 95bd883c2c
commit 401d7d53e9

View File

@ -116,8 +116,9 @@ def CheckSDL(context, version):
return int(ret) return int(ret)
def CheckPortaudio(context, version): def CheckPortaudio(context, version):
found = 0
if CheckPKG(context, 'portaudio'):
context.Message( 'Checking for lib portaudio version > %s... ' % version) context.Message( 'Checking for lib portaudio version > %s... ' % version)
context.env.Append(LIBS = 'portaudio')
found = context.TryRun(""" found = context.TryRun("""
#include <portaudio.h> #include <portaudio.h>
#include <stdio.h> #include <stdio.h>