Correctly pass link_args in c_ext() in setup.py

This commit is contained in:
Vsevolod Solovyov 2015-08-24 12:52:05 +03:00
parent bb910cff92
commit 39cfe28f33
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def name_to_path(mod_name, ext):
def c_ext(mod_name, language, includes, compile_args, link_args):
mod_path = name_to_path(mod_name, language)
return Extension(mod_name, [mod_path], include_dirs=includes,
extra_compile_args=compile_args, extra_link_args=compile_args)
extra_compile_args=compile_args, extra_link_args=link_args)
def cython_setup(mod_names, language, includes, compile_args, link_args):