From d54b2391c4b0c862aa4991f467bf724bb811048e Mon Sep 17 00:00:00 2001
From: Brecht Van Lommel <brechtvanlommel@pandora.be>
Date: Tue, 25 Jun 2013 00:11:04 +0000
Subject: [PATCH] Buildbot: another workaround for the Windows command length
 limit, this time with the freestyle module which has 242 cpp files.

---
 source/blender/compositor/SConscript | 4 ++--
 source/blender/freestyle/SConscript  | 9 +++++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/source/blender/compositor/SConscript b/source/blender/compositor/SConscript
index 8d7f036f172..d40015cf9d3 100644
--- a/source/blender/compositor/SConscript
+++ b/source/blender/compositor/SConscript
@@ -59,7 +59,7 @@ incs = [
 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
     incs.append(env['BF_PTHREADS_INC'])
 
-env.BlenderLib('bf_composite_intern', sources_intern, incs, defines=defs, libtype=['core'], priority=[164])
+env.BlenderLib('bf_composite_intern', sources_intern, incs, defines=defs, libtype=['core'], priority=[166])
 env.BlenderLib('bf_composite_nodes', sources_nodes, incs, defines=defs, libtype=['core'], priority=[165])
-env.BlenderLib('bf_composite_operations', sources_operations, incs, defines=defs, libtype=['core'], priority=[166])
+env.BlenderLib('bf_composite_operations', sources_operations, incs, defines=defs, libtype=['core'], priority=[164])
 
diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript
index 909165529a8..2542bbd1ec6 100644
--- a/source/blender/freestyle/SConscript
+++ b/source/blender/freestyle/SConscript
@@ -76,8 +76,13 @@ python_sources = env.Glob(prefix + '/*.cpp') + \
 
 sources = system_sources + image_sources + geometry_sources + scene_graph_sources + \
           winged_edge_sources + view_map_sources + stroke_sources + \
-          application_sources + interface_sources + python_sources
+          application_sources + interface_sources
 
 env.BlenderLib(libname="bf_freestyle", sources=sources, includes=Split(incs),
-               defines=defs, libtype=['core'], priority = [370] # bf_python is 361
+               defines=defs, libtype=['core'], priority = [370]
 )
+
+env.BlenderLib(libname="bf_freestyle_python", sources=python_sources, includes=Split(incs),
+               defines=defs, libtype=['core'], priority = [369] # bf_python is 361
+)
+
-- 
GitLab