[Python-bugs-list] [Bug #129379] LINKFORSHARED usage incorrently documented

noreply@sourceforge.net noreply@sourceforge.net
Fri, 19 Jan 2001 13:15:14 -0800


Bug #129379, was updated on 2001-Jan-19 06:33
Here is a current snapshot of the bug.

Project: Python
Category: Documentation
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : fdrake
Summary: LINKFORSHARED usage incorrently documented

Details: http://www.python.org/doc/2.0/ext/link-reqs.html

says to get link-flags like this:

>>> import distutils.sysconfig
>>> distutils.sysconfig.LINKFORSHARED 
'-Xlinker -export-dynamic'

But this does not work. The following line worked, although I'm not sure if
it is Correct.

>>> distutils.sysconfig.get_config_vars()['LINKFORSHARED']

/Jesper (jojo@virtutech.se)

Follow-Ups:

Date: 2001-Jan-19 13:15
By: fdrake

Comment:
This is already corrected in the CVS version of the docuementation; the 2.1
alpha packages will contain the correction.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129379&group_id=5470