[issue11046] darwin/MacOS X setup.py hack
Steffen Daode Nurpmeso
report at bugs.python.org
Fri Jan 28 21:06:35 CET 2011
Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:
Thank you, RO, exactly that very line would be great as an add-on for the mentioned file - and (better: but - i'm lazy) it would be even better if that hint would appear somewhere in 'configure --help'! That would make the apple glow.
(In the meanwhile i've compiled Py3K without --pydebug - possibly the '10.6' -> '10.5' hack did it, or i've forgotten a 'make distclean' in the hurry this afternoon; i will definitely remember 'MACOSX_DEPLOYMENT_TARGET=10.5', though!)
After having the time to look back and think a second time about the patch which helped me out this morning, i've rewritten it in a more generic form.
All lines which i would *definitely* change before a merge have been marked with 'STEFFEN HACK', but i think 'does_library_chainload_library()' may be worth throwing an eye on it.
It's a bit of a hack, but it also encapsulates some difficulties of using different tools on different UNIX platforms.
Added file: http://bugs.python.org/file20582/DIFF
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list