diff options
author | Chris Want <cwant@ualberta.ca> | 2006-11-29 00:12:31 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2006-11-29 00:12:31 +0300 |
commit | 6a53c0ae6ad615f43adb12dfb380ca6bd642eb26 (patch) | |
tree | c15747680384a2a3d432b5071265c4c6c878908f /intern/bsp | |
parent | b1f466e804ccee2d0068580d9bd9bbfee8893d71 (diff) |
=Scons=
I should have talked to joeedh before committing last time...
This is an another attempt to fix the mingw long commandline
issue on all versions of windows (I didn't realize that the
2k in Win2k refered to the length of the commandline).
In this version, I break libsrc.a up so that no archive has
more than 30 object files (adjustable with one line of
code). I also fudge the priority numbers to ensure correct
linking. This was done in a "guess the number" way until
it worked, so please test and please check for correctness.
Diffstat (limited to 'intern/bsp')
-rw-r--r-- | intern/bsp/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/bsp/SConscript b/intern/bsp/SConscript index 6dc3deb7109..e363fd1d4c3 100644 --- a/intern/bsp/SConscript +++ b/intern/bsp/SConscript @@ -5,4 +5,8 @@ sources = env.Glob('intern/*.cpp') incs = 'intern ../container ../moto/include ../memutil' -env.BlenderLib ('blender_BSP', sources, Split(incs), [], libtype='core', priority=15 ) +if (env['OURPLATFORM'] == 'win32-mingw'): + env.BlenderLib ('blender_BSP', sources, Split(incs), [], libtype=['common','intern'], priority=[26,26] ) +else: + env.BlenderLib ('blender_BSP', sources, Split(incs), [], libtype='core', priority=15 ) + |