Commit 9582794c authored by Thomas Heller's avatar Thomas Heller

Pass the preprocessor options also to the resource compiler

when compiling .RC files.

From Robin Dunn, fixes SF # 669198.
parent cf356fd8
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment