[Patches] [ python-Patches-669198 ] Add cflags to RC compile

SourceForge.net noreply@sourceforge.net
Fri, 31 Jan 2003 12:52:52 -0800


Patches item #669198, was opened at 2003-01-16 19:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=669198&group_id=5470

Category: Distutils and setup.py
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Robin Dunn (robind)
>Assigned to: Thomas Heller (theller)
Summary: Add cflags to RC compile

Initial Comment:
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.



----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2003-01-31 21:52

Message:
Logged In: YES 
user_id=11105

This looks good. Checked in, and closed.
Thanks for the patch, Robin, looking forward to build 
wxPython myself ;-)

----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2003-01-16 19:18

Message:
Logged In: YES 
user_id=53955

attached patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=669198&group_id=5470