scons: Mac builds should link Cocoa, not Carbon

This commit is contained in:
Celtic Minstrel 2016-11-03 13:23:04 -04:00
parent 551eb507f7
commit ffe9182fb3

View file

@ -533,7 +533,7 @@ for env in [test_env, client_env, env]:
env.Append(LIBS = ["wsock32", "iconv", "z", "shlwapi"], CCFLAGS = ["-mthreads"], LINKFLAGS = ["-mthreads"], CPPDEFINES = ["_WIN32_WINNT=0x0501"])
if env["PLATFORM"] == 'darwin': # Mac OS X
env.Append(FRAMEWORKS = "Carbon") # Carbon GUI
env.Append(FRAMEWORKS = "Cocoa") # Cocoa GUI
if not env['static_test']:
test_env.Append(CPPDEFINES = "BOOST_TEST_DYN_LINK")