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

SourceForge.net noreply@sourceforge.net
Thu, 16 Jan 2003 10:18:11 -0800


Patches item #669198, was opened at 2003-01-16 10: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: Open
Resolution: None
Priority: 5
Submitted By: Robin Dunn (robind)
Assigned to: Nobody/Anonymous (nobody)
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: Robin Dunn (robind)
Date: 2003-01-16 10: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