mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
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:
parent
866d15d3d8
commit
148fd7b96e
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user