mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
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:
parent
7f7f4e8ac2
commit
736409632e
5 changed files with 25 additions and 25 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue