Commit add08632 authored by Tarek Ziadé's avatar Tarek Ziadé

Fixed #2698 - now reads the compiler option when creating the compiler

parent 28fefb3b
......@@ -310,7 +310,7 @@ class build_ext(Command):
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
self.compiler = new_compiler(compiler=None,
self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
......
......@@ -329,6 +329,7 @@ class BuildExtTestCase(TempdirManager,
self.assertEquals(so_dir, other_tmp_dir)
cmd.inplace = 0
cmd.compiler = None
cmd.run()
so_file = cmd.get_outputs()[0]
self.assertTrue(os.path.exists(so_file))
......
......@@ -17,6 +17,8 @@ Core and Builtins
Library
-------
- Issue #2698: The --compiler ignored was ignored for distutils' build_ext.
- Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
with Tcl/Tk-8.5.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment