From ea67c4eb0a864f92bf6b559519dd4c4659cc5509 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 9 Dec 2008 22:07:11 +0000 Subject: [PATCH] opsss osx fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1465 8ced0084-cf51-0410-be5f-012b33b47a6e --- SconsTests/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SconsTests/utils.py b/SconsTests/utils.py index bd003561e2..1671237da3 100644 --- a/SconsTests/utils.py +++ b/SconsTests/utils.py @@ -21,14 +21,14 @@ def CheckFramework(context, name): if (platform.system() == 'darwin'): context.Message( '\nLooking for framework %s... ' % name ) lastLINKFLAGS = context.env['LINKFLAGS'] - context.env.Append(LINKFLAGS = '-Wl,-framework,%s' % name) + context.env.Append(LINKFLAGS = [ '-framework', name ]) ret = context.TryLink(""" int main(int argc, char **argv) { return 0; } """, '.c') if not ret: - context.env.Replace(LIBS = lastLIBS) + context.env.Replace(LINKFLAGS = lastLINKFLAGS) return ret