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

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

parent 1e6721ca
......@@ -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))
......
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