From 9582794c17b92ae5bb83878abe854d965e51dcdb Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Fri, 31 Jan 2003 20:40:15 +0000 Subject: Pass the preprocessor options also to the resource compiler when compiling .RC files. From Robin Dunn, fixes SF # 669198. --- Lib/distutils/msvccompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index 65a50cc..e07a6d5 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -310,7 +310,7 @@ class MSVCCompiler (CCompiler) : input_opt = src output_opt = "/fo" + obj try: - self.spawn ([self.rc] + + self.spawn ([self.rc] + pp_opts + [output_opt] + [input_opt]) except DistutilsExecError, msg: raise CompileError, msg -- cgit v0.12