mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
@ -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):
|
||||
|
Reference in New Issue
Block a user