Fix scons build error compiling 32 bit OS X built on 64 bit.

This commit is contained in:
Brecht Van Lommel 2013-11-23 06:50:19 +01:00
parent 1d33098314
commit 2cb63486a9

@ -58,9 +58,9 @@ if env['WITH_BF_INTERNATIONAL']:
os.makedirs(build_dir) os.makedirs(build_dir)
msgfmt_tool = env.Clone() msgfmt_tool = env.Clone()
msgfmt_tool.Append(LINKFLAGS = env['PLATFORM_LINKFLAGS'])
targetpath = root_build_dir + '/msgfmt' targetpath = root_build_dir + '/msgfmt'
if env['OURPLATFORM'] == 'darwin':
msgfmt_tool.Replace( LINKFLAGS = '/usr/lib/libgcc_s.1.dylib /usr/lib/libstdc++.6.dylib /usr/lib/libSystem.B.dylib') # only need these dependencies
msgfmt_target = msgfmt_tool.Program(target = targetpath, source = ['msgfmt.cc']) msgfmt_target = msgfmt_tool.Program(target = targetpath, source = ['msgfmt.cc'])