Ronald Oussoren added the comment:

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.

----------
keywords: +patch
Added file: http://bugs.python.org/file29261/issue16848.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16848>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to