[Python-checkins] python/dist/src/Lib/distutils unixccompiler.py,1.46,1.47

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Mon, 09 Sep 2002 05:17:01 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv12890

Modified Files:
	unixccompiler.py 
Log Message:
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.


Index: unixccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/unixccompiler.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** unixccompiler.py	18 Jun 2002 18:45:39 -0000	1.46
--- unixccompiler.py	9 Sep 2002 12:16:58 -0000	1.47
***************
*** 93,96 ****
--- 93,97 ----
          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