compile fix on linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1460 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-09 18:10:16 +00:00
parent 7f7f4e8ac2
commit 736409632e
5 changed files with 25 additions and 25 deletions

View File

@ -19,6 +19,8 @@ def CheckPKG(context, name):
context.Message( 'Checking for %s... ' % name )
ret = context.TryAction('pkg-config --exists \'%s\'' % name)[0]
context.Result( ret )
if ret:
context.env.ParseConfig('pkg-config --cflags --libs \'%s\'' % name)
return int(ret)
@ -33,7 +35,9 @@ def CheckSDL(context, version):
found = [int(n) for n in found_ver.split(".")]
ret = (found >= required)
context.Result( ret )
context.Result(ret)
if ret:
context.env.ParseConfig('sdl-config --cflags --libs')
return int(ret)
def GenerateRevFile(flavour, template, output):