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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 19 Jan 2001 08:58:27 -0800


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

Project: Python
Category: Documentation
Status: Open
Resolution: None
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)

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