mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
opsss osx fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1465 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -21,14 +21,14 @@ def CheckFramework(context, name):
|
|||||||
if (platform.system() == 'darwin'):
|
if (platform.system() == 'darwin'):
|
||||||
context.Message( '\nLooking for framework %s... ' % name )
|
context.Message( '\nLooking for framework %s... ' % name )
|
||||||
lastLINKFLAGS = context.env['LINKFLAGS']
|
lastLINKFLAGS = context.env['LINKFLAGS']
|
||||||
context.env.Append(LINKFLAGS = '-Wl,-framework,%s' % name)
|
context.env.Append(LINKFLAGS = [ '-framework', name ])
|
||||||
ret = context.TryLink("""
|
ret = context.TryLink("""
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
""", '.c')
|
""", '.c')
|
||||||
if not ret:
|
if not ret:
|
||||||
context.env.Replace(LIBS = lastLIBS)
|
context.env.Replace(LINKFLAGS = lastLINKFLAGS)
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user