Do not forget to append the LINKFLAGS. Replaced "-framework name" with "-Wl,-framework,name" because the space inside the option seems to confuse SCons.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@626 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-09-23 00:11:33 +00:00
parent 866d15d3d8
commit 148fd7b96e

View File

@ -45,7 +45,7 @@ if sys.platform == 'darwin':
linkFlags.append('-L/opt/local/lib')
# Use frameworks instead of plain libs, when possible.
linkFlags += [
'-framework %s' % framework
'-Wl,-framework,%s' % framework
for framework in [ 'OpenGL', 'Cg' ]
]
else:
@ -64,6 +64,7 @@ if useSDL:
gfxenv.Append(
CXXFLAGS = compileFlags,
LINKFLAGS = linkFlags,
)
gfxenv.SharedLibrary(