mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
When using BF_SPLIT_SRCS as a hack to get some of the larger libs compiled, there were some problems linking Blender related to some boolean calls. This commit tweaks the priorities for the boolean libs for the 'intern' group so that they get linked before the src libs are.
14 lines
499 B
Python
14 lines
499 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
incs = '. intern extern ../moto/include ../container ../memutil'
|
|
incs += ' ../../source/blender/makesdna ../../intern/guardedalloc'
|
|
incs += ' ../../source/blender/blenlib'
|
|
|
|
if (env['OURPLATFORM'] == 'win32-mingw'):
|
|
env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype=['common','intern'], priority = [30,85] )
|
|
else:
|
|
env.BlenderLib ('blender_bop', sources, Split(incs) , [], libtype='common', priority = 5 )
|
|
|