Pass the preprocessor options also to the resource compiler

when compiling .RC files.

From Robin Dunn, fixes SF # 669198.
This commit is contained in:
Thomas Heller 2003-01-31 20:40:15 +00:00
parent cf356fd865
commit 9582794c17

View file

@ -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