[Python-checkins] python/dist/src/Lib/distutils msvccompiler.py,1.52,1.53

theller@users.sourceforge.net theller@users.sourceforge.net
Fri, 31 Jan 2003 12:40:20 -0800


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

Modified Files:
	msvccompiler.py 
Log Message:
Pass the preprocessor options also to the resource compiler
when compiling .RC files.

>From Robin Dunn, fixes SF # 669198.


Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/msvccompiler.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** msvccompiler.py	19 Nov 2002 13:12:27 -0000	1.52
--- msvccompiler.py	31 Jan 2003 20:40:15 -0000	1.53
***************
*** 311,315 ****
                  output_opt = "/fo" + obj
                  try:
!                     self.spawn ([self.rc] +
                                  [output_opt] + [input_opt])
                  except DistutilsExecError, msg:
--- 311,315 ----
                  output_opt = "/fo" + obj
                  try:
!                     self.spawn ([self.rc] + pp_opts +
                                  [output_opt] + [input_opt])
                  except DistutilsExecError, msg: