[Patches] [ python-Patches-1254718 ] GCC detection for runtime_library_dirs when ccache is used

SourceForge.net noreply at sourceforge.net
Tue Aug 9 06:53:25 CEST 2005


Patches item #1254718, was opened at 2005-08-09 13:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1254718&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils and setup.py
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Seo Sanghyeon (sanxiyn)
Assigned to: Nobody/Anonymous (nobody)
Summary: GCC detection for runtime_library_dirs when ccache is used

Initial Comment:
Recently I discovered ccache and am very happily using it.

However, some Python extensions (python-ldap, to be
precise) didn't link correctly, ignoring
runtime_library_dirs, only if I used ccache.
(CC='ccache gcc' python setup.py...)

Attached patch fixes this by treating any compiler with
string gcc or g++ in it as GCC, not only those start
with gcc or g++. This feels like hack over hack, but oh
well.

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

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


More information about the Patches mailing list