[SCons] Fix setting 'python_module_loc' with minimal Python module

This commit is contained in:
Ray Speth
2014-09-18 22:59:05 +00:00
parent 606a18e951
commit eb468b6a48

View File

@@ -54,7 +54,7 @@ if localenv['PYTHON_INSTALLER'] == 'direct':
filename = filename.strip()
if filename.endswith(check):
filename = filename.replace(check,'')
global_env['python2_module_loc'] = os.path.normpath(filename)
global_env['python_module_loc'] = os.path.normpath(filename)
break
localenv.AlwaysBuild(localenv.AddPostAction(mod_inst, find_module_dir))
env['install_python2_action'] = mod_inst