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:
parent
95bd883c2c
commit
401d7d53e9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue