diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-10-27 13:01:42 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-10-27 13:01:42 +0400 |
commit | 45c1f23f19169a4bc2640db3fd2d7b67386609dc (patch) | |
tree | 5953e3c222749de6ec9e8d28252a62c3c02fe270 /source/blender/src/SConscript | |
parent | a782b2179b6e28d4296e329dac99d2711bddd5cd (diff) |
Apply patch #5127 by Joseph Eagar (joeedh)
* This addresses the long command-line problem when building with SCons/MingW on windows through a dosbox (cmd.exe).
My test buildpath was: C:\Documents and Settings\nathan\My Documents\blender\build\win32-mingw
Should be rather long enough, don't you think?
/Nathan
Diffstat (limited to 'source/blender/src/SConscript')
-rw-r--r-- | source/blender/src/SConscript | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript index 2e0f632ca85..37522eb171c 100644 --- a/source/blender/src/SConscript +++ b/source/blender/src/SConscript @@ -47,4 +47,10 @@ if env['WITH_BF_VERSE']: if env['BF_BUILDINFO'] == 1: defs.append('NAN_BUILDINFO') -env.BlenderLib ( libname = 'src', sources = sources, includes = Split(incs), defines = defs, libtype=['core', 'intern'], priority = [5, 25] ) +if env['OURPLATFORM'] == 'win32-mingw': + s1 = sources[:len(sources)/2] + s2 = sources[len(sources)/2:len(sources)] + env.BlenderLib ( libname = 'src1', sources = s1, includes = Split(incs), defines = defs, libtype=['core', 'intern'], priority = [5, 25] ) + env.BlenderLib ( libname = 'src2', sources = s2, includes = Split(incs), defines = defs, libtype=['core', 'intern'], priority = [6, 26] ) +else: + env.BlenderLib ( libname = 'src', sources = sources, includes = Split(incs), defines = defs, libtype=['core', 'intern'], priority = [5, 25] ) |