Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2006-11-29 00:12:31 +0300
committerChris Want <cwant@ualberta.ca>2006-11-29 00:12:31 +0300
commit6a53c0ae6ad615f43adb12dfb380ca6bd642eb26 (patch)
treec15747680384a2a3d432b5071265c4c6c878908f /intern/boolop
parentb1f466e804ccee2d0068580d9bd9bbfee8893d71 (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/boolop')
-rw-r--r--intern/boolop/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/boolop/SConscript b/intern/boolop/SConscript
index ad76cc6a5e5..a3f3c0b6433 100644
--- a/intern/boolop/SConscript
+++ b/intern/boolop/SConscript
@@ -7,4 +7,8 @@ incs = '. intern extern ../moto/include ../container ../memutil'
incs += ' ../../source/blender/makesdna ../../intern/guardedalloc'
incs += ' ../../source/blender/blenlib'
-env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='common', priority = 5 )
+if (env['OURPLATFORM'] == 'win32-mingw'):
+ env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype=['common','intern'], priority = [5,50] )
+else:
+ env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='common', priority = 5 )
+