diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-11-12 06:30:16 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-11-12 06:30:16 +0400 |
commit | c844033cd0ddf23137e338abae91afece98752b6 (patch) | |
tree | 80c1f49da6b74c28efcbaf99915863fe2531f688 /build_files/scons/tools/Blender.py | |
parent | cf1801e1678c06bf94a75bda01d4b6739476d8ca (diff) |
Scons compiling fix
Proper implementation for only including the boost locale libs when
WITH_BF_INTERNATIONAL is enabled, so that those of us who do not need/want to
bother with translated ui's can compile. The way it was done before was wrong as
1) the value was always set to true earlier in the config scripts, 2) the base
config scripts run before user config overrides are set
Diffstat (limited to 'build_files/scons/tools/Blender.py')
-rw-r--r-- | build_files/scons/tools/Blender.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index 7d7a32682cb..7b8932bbb4c 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -310,6 +310,9 @@ def setup_syslibs(lenv): if lenv['WITH_BF_BOOST'] and not lenv['WITH_BF_STATICBOOST']: syslibs += Split(lenv['BF_BOOST_LIB']) + + if lenv['WITH_BF_INTERNATIONAL']: + syslibs += Split(lenv['BF_BOOST_LIB_INTERNATIONAL']) if not lenv['WITH_BF_STATICJPEG']: syslibs += Split(lenv['BF_JPEG_LIB']) |