mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Pass the preprocessor options also to the resource compiler
when compiling .RC files. From Robin Dunn, fixes SF # 669198.
This commit is contained in:
parent
cf356fd865
commit
9582794c17
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue