diff options
author | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-08-07 15:50:48 +0400 |
---|---|---|
committer | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-08-07 15:50:48 +0400 |
commit | 16deef9e79721d3525244eaef11190b5ff0fd58b (patch) | |
tree | e40cbbe9bdca18ef7f27fdf1d3d6ea5241af6b4b /source/blender | |
parent | 79656a65e0abc4740f0d87232b09a1172e22bfdd (diff) |
small fix of building rules
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/SConscript | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/SConscript | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/SConscript b/source/blender/SConscript index 969bd2966fc..e41548fc39e 100644 --- a/source/blender/SConscript +++ b/source/blender/SConscript @@ -3,6 +3,7 @@ Import ('env') import sys SConscript(['avi/SConscript', + 'blenfont/SConscript', 'blenkernel/SConscript', 'blenlib/SConscript', 'blenloader/SConscript', @@ -16,8 +17,7 @@ SConscript(['avi/SConscript', 'nodes/SConscript', 'modifiers/SConscript', 'ikplugin/SConscript', - 'windowmanager/SConscript', - 'blenfont/SConscript']) + 'windowmanager/SConscript']) diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript index 160aeca4a51..57473e9ec74 100644 --- a/source/blender/makesrna/intern/SConscript +++ b/source/blender/makesrna/intern/SConscript @@ -12,7 +12,6 @@ root_build_dir=normpath(env['BF_BUILDDIR']) source_files = env.Glob('*.c') source_files.remove('rna_access.c') -source_files.append('../../blenfont/intern/blf_gettext.c') generated_files = source_files[:] generated_files.remove('rna_define.c') @@ -141,10 +140,12 @@ targetpath = root_build_dir+'/makesrna' if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): targetpath = '#' + targetpath +source_files.append('../../blenfont/intern/blf_gettext.o') if env['OURPLATFORM'] == 'linux2' and root_build_dir[0]==os.sep: makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) else: makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) +source_files.remove('../../blenfont/intern/blf_gettext.o') rna_dict = rna.Dictionary() rna.Depends (generated_files, makesrna) |