[SCons] Use specified 'python_compiler' to link Python module
Fixes Issue 179.
This commit is contained in:
parent
f871dd8cf0
commit
6d5b7999de
1 changed files with 1 additions and 0 deletions
|
|
@ -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'] = ''
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue