This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add cflags to RC compile
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: theller Nosy List: robind, theller
Priority: normal Keywords: patch

Created on 2003-01-16 18:16 by robind, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
msvccompiler.patch robind, 2003-01-16 18:18
Messages (3)
msg42434 - (view) Author: Robin Dunn (robind) Date: 2003-01-16 18:16
wxPython's setup.py needs to give the -I flags to the
rc.exe command so the #include in the .rc file can find
the specified file.  This little one line change to
msvccompiler.py adds all the -I and -D flags used for
the C compiler to the RC compiler as well, and solves
wxPython's problem.

BTW, this is the last distutils thing that I have to
workaround in wxPython's setup.py.  With the distutils
in 2.3 I will be able to remove all my other hacks.  If
this patch makes it in the final then they will all be
gone.

msg42435 - (view) Author: Robin Dunn (robind) Date: 2003-01-16 18:18
Logged In: YES 
user_id=53955

attached patch
msg42436 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2003-01-31 20:52
Logged In: YES 
user_id=11105

This looks good. Checked in, and closed.
Thanks for the patch, Robin, looking forward to build 
wxPython myself ;-)
History
Date User Action Args
2022-04-10 16:06:08adminsetgithub: 37783
2003-01-16 18:16:55robindcreate