From 2cb63486a9cedf79aa4e10a26338acf8d7d7e94c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 23 Nov 2013 06:50:19 +0100 Subject: Fix scons build error compiling 32 bit OS X built on 64 bit. --- intern/locale/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/locale') diff --git a/intern/locale/SConscript b/intern/locale/SConscript index 42941e2105f..4136ac8237d 100644 --- a/intern/locale/SConscript +++ b/intern/locale/SConscript @@ -58,9 +58,9 @@ if env['WITH_BF_INTERNATIONAL']: os.makedirs(build_dir) msgfmt_tool = env.Clone() + msgfmt_tool.Append(LINKFLAGS = env['PLATFORM_LINKFLAGS']) + 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']) -- cgit v1.2.3