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 ronaldoussoren
Recipients Andrew.Jaffe, esc24, hynek, ned.deily, ronaldoussoren, samueljohn
Date 2013-02-27.12:39:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361968749.15.0.0544335775186.issue16848@psf.upfronthosting.co.za>
In-reply-to
Content
With framework build from yesterday this is not fixed for python 2.7, it prints:

-L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python

The bit and the end it unwanted:

   -u _PyMac_Error Python.framework/Versions/2.7/Python

The attached patch fixes the issue (I haven't committed yet because I don't have time to run the test suite right now). The patch works for me and should be fine as it mirrors the solution in the 3.x tree.

BTW. As noted before linking with '-framework Python' is not what you want to do, this causes problems when someone installs multiple framework versions: '-framework Python' then links to whatever framwork was installed last instead of the python version you ran 'python-config' for.
History
Date User Action Args
2013-02-27 12:39:09ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, samueljohn, hynek, esc24, Andrew.Jaffe
2013-02-27 12:39:09ronaldoussorensetmessageid: <1361968749.15.0.0544335775186.issue16848@psf.upfronthosting.co.za>
2013-02-27 12:39:09ronaldoussorenlinkissue16848 messages
2013-02-27 12:39:08ronaldoussorencreate