提交 4165e738 authored 作者: Frederic Bastien's avatar Frederic Bastien

backport to python2.4

上级 1b12c838
...@@ -636,7 +636,9 @@ class CLinker(link.Linker): ...@@ -636,7 +636,9 @@ class CLinker(link.Linker):
if x_compiler and (x_compiler != c_compiler): if x_compiler and (x_compiler != c_compiler):
raise Exception('Nodes have requested specific different compilers', raise Exception('Nodes have requested specific different compilers',
(c_compiler, x_compiler)) (c_compiler, x_compiler))
return cmodule.gcc_module_compile_str if (c_compiler is None) else c_compiler if (c_compiler is None):
return cmodule.gcc_module_compile_str
else: return c_compiler
def header_dirs(self): def header_dirs(self):
"""WRITEME """WRITEME
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论