diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 26fa5b47198..09ada7d7f70 100644 --- a/SConstruct +++ b/SConstruct @@ -46,6 +46,9 @@ import glob import re from tempfile import mkdtemp +# needed for importing tools +sys.path.append(os.path.join(".", "build_files", "scons")) + import tools.Blender import tools.btools import tools.bcolors @@ -159,7 +162,7 @@ if crossbuild and platform not in ('win32-vc', 'win64-vc'): env['OURPLATFORM'] = platform -configfile = 'config'+os.sep+platform+'-config.py' +configfile = os.path.join("build_files", "scons", "config", platform + "-config.py") if os.path.exists(configfile): print B.bc.OKGREEN + "Using config file: " + B.bc.ENDC + configfile |