Commit 33c706bf authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix for NameError caught by PyChecker.

(This command seems to be essentially untested; should fix that...)
parent 45de3e62
......@@ -272,8 +272,8 @@ class config (Command):
from distutils.ccompiler import CompileError, LinkError
self._check_compiler()
try:
self._link(body, headers, include_dirs,
libraries, library_dirs, lang)
src, obj, exe = self._link(body, headers, include_dirs,
libraries, library_dirs, lang)
self.spawn([exe])
ok = 1
except (CompileError, LinkError, DistutilsExecError):
......
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