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
1 changed files with 4 additions and 3 deletions

View File

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