The .preprocess() method didn't work, because it didn't add the input file
to the command-line arguments. Fix this by adding the source filename.
This commit is contained in:
parent
4013cbd06b
commit
df453fd026
|
@ -92,6 +92,7 @@ class UnixCCompiler(CCompiler):
|
|||
pp_args[:0] = extra_preargs
|
||||
if extra_postargs:
|
||||
pp_args.extend(extra_postargs)
|
||||
pp_args.append(source)
|
||||
|
||||
# We need to preprocess: either we're being forced to, or we're
|
||||
# generating output to stdout, or there's a target output file and
|
||||
|
|
Loading…
Reference in New Issue