From 401d7d53e9cad59ec20652a553bd53019672d081 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 6 Mar 2009 14:48:39 +0000 Subject: [PATCH] port audio detection fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2566 8ced0084-cf51-0410-be5f-012b33b47a6e --- SconsTests/utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SconsTests/utils.py b/SconsTests/utils.py index 9b6a3de9fc..513d74f62b 100644 --- a/SconsTests/utils.py +++ b/SconsTests/utils.py @@ -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 #include int main(int argc, char **argv) {