[SCons] Use specified 'python_compiler' to link Python module

Fixes Issue 179.
This commit is contained in:
Ray Speth 2013-10-15 17:06:35 +00:00
parent f871dd8cf0
commit 6d5b7999de

View file

@ -132,6 +132,7 @@ else:
localenv['py_extra_link_args'] = repr(['-fprofile-arcs', '-ftest-coverage'])
if env['python_compiler']:
localenv['ENV']['CC'] = env['python_compiler']
localenv['ENV']['CXX'] = env['python_compiler']
if 'LDFLAGS' not in localenv['ENV']:
localenv['ENV']['LDFLAGS'] = ''