This commit is contained in:
Matthew Honnibal 2015-01-06 13:05:43 +11:00
parent b91d0cb584
commit 2f9884a2d5
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ import platform
# We have to resort to monkey-patching to set the compiler, because pypy broke # We have to resort to monkey-patching to set the compiler, because pypy broke
# ALL the EVERTHING. # ALL the EVERTHING.
orig_customize_compiler = sysconfig.customize_compiler pre_patch_customize_compiler = sysconfig.customize_compiler
def my_customize_compiler(compiler): def my_customize_compiler(compiler):
orig_customize_compiler(compiler) pre_patch_customize_compiler(compiler)
compiler.compiler_cxx = ['c++'] compiler.compiler_cxx = ['c++']