diff options
| author | Andrew M. Kuchling <amk@amk.ca> | 2002-09-09 12:16:58 +0000 |
|---|---|---|
| committer | Andrew M. Kuchling <amk@amk.ca> | 2002-09-09 12:16:58 +0000 |
| commit | 23ad69adc2c9dd95e91445962900405da7115026 (patch) | |
| tree | c464095304d78e62c062115f5981072c5d5cecf6 /unixccompiler.py | |
| parent | 6dddf6bec77b5dcf69da39d556471f094eb8ecd8 (diff) | |
| download | python-setuptools-git-23ad69adc2c9dd95e91445962900405da7115026.tar.gz | |
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.
Diffstat (limited to 'unixccompiler.py')
| -rw-r--r-- | unixccompiler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unixccompiler.py b/unixccompiler.py index d94c3840..831717ba 100644 --- a/unixccompiler.py +++ b/unixccompiler.py @@ -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 |
