mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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
|
input_opt = src
|
||||||
output_opt = "/fo" + obj
|
output_opt = "/fo" + obj
|
||||||
try:
|
try:
|
||||||
self.spawn ([self.rc] +
|
self.spawn ([self.rc] + pp_opts +
|
||||||
[output_opt] + [input_opt])
|
[output_opt] + [input_opt])
|
||||||
except DistutilsExecError, msg:
|
except DistutilsExecError, msg:
|
||||||
raise CompileError, msg
|
raise CompileError, msg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue