[Python-bugs-list] [ python-Bugs-723495 ] runtime_library_dirs broken under OS X
SourceForge.net
noreply@sourceforge.net
Fri, 18 Apr 2003 04:08:56 -0700
Bugs item #723495, was opened at 2003-04-18 14:41
Message generated for change (Comment added) made by zenzen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=723495&group_id=5470
Category: Distutils
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Stuart Bishop (zenzen)
Assigned to: Nobody/Anonymous (nobody)
Summary: runtime_library_dirs broken under OS X
Initial Comment:
gcc and ld on OSX don't seem to support the -R option, breaking
runtime_library_dirs and any distutils installed extensions that require
it.
I've only checked Python 2.2.2 so far.
----------------------------------------------------------------------
>Comment By: Stuart Bishop (zenzen)
Date: 2003-04-18 21:08
Message:
Logged In: YES
user_id=46639
Looks like this has been fixed in 2.3a2:
if sys.platform[:6] == "darwin":
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir
elif compiler[:3] == "gcc" or compiler[:3] == "g++":
return "-Wl,-R" + dir
else:
return "-R" + dir
I can't find a bug report or patch on this fix, and I don't know if it is in any
2.2.x branch.
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-04-18 18:58
Message:
Logged In: YES
user_id=45365
Could you elaborate a bit on what breaks, and/or give an example that breaks?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=723495&group_id=5470