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/opennl
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/opennl')
-rw-r--r--intern/opennl/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/opennl/SConscript b/intern/opennl/SConscript
index b1cbdeb8ba3..bcfb030f7e6 100644
--- a/intern/opennl/SConscript
+++ b/intern/opennl/SConscript
@@ -5,5 +5,8 @@ sources = env.Glob('intern/*.c') + env.Glob('superlu/*.c')
incs = 'extern superlu'
-env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype='core', priority=55 )
+if (env['OURPLATFORM'] == 'win32-mingw'):
+ env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype=['core','intern'], priority=[1,80] )
+else:
+ env.BlenderLib ('blender_ONL', sources, Split(incs), [], libtype='core', priority=55 )