This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sleipnir
Recipients sleipnir, tarek
Date 2009-05-26.10:55:55
SpamBayes Score 6.40799e-12
Marked as misclassified No
Message-id <1243335359.03.0.865660639037.issue6114@psf.upfronthosting.co.za>
In-reply-to
Content
If python is installed into a symlink'ed directory, the variables
"sys.exec_prefix" and "sys.executable" can contain different paths.
Therefore, the respective test in build_ext.py fails (line 202)
and a wrong library search directory (-L.) is set.

The attached patch fixes this issue, by using os.path.samefile() instead
of the string comparison to see whether two files are identical
irrespective of their paths.
History
Date User Action Args
2009-05-26 10:55:59sleipnirsetrecipients: + sleipnir, tarek
2009-05-26 10:55:59sleipnirsetmessageid: <1243335359.03.0.865660639037.issue6114@psf.upfronthosting.co.za>
2009-05-26 10:55:57sleipnirlinkissue6114 messages
2009-05-26 10:55:56sleipnircreate