[issue7724] setup.py ignores SDK root on OSX

Ned Deily report at bugs.python.org
Sun Jan 17 19:59:39 CET 2010


Ned Deily <nad at acm.org> added the comment:

It's not exactly the same issue but I think it is closely related since effectively both document the need for setup.py to build with a non-default system root (or SDK) and some of the hardcoded paths should be being satisfied from the SDK.  So at least parts of the more general solution should apply to OS X builds and potentially vice versa.

Yes, Apple's documentation of -isysroot, -syslibroot, and --sysroot leave a lot to be desired. My guess is that --sysroot was added independently by GNU and doesn't seem to be useful here.  And, as best I can tell on 10.4 to 10.6, -syslibroot gets added automatically when -isysroot is supplied. Is that your understanding as well?  I also see the man page for gcc discusses -isystem which sounds like it might be helpful if it actually works.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7724>
_______________________________________


More information about the Python-bugs-list mailing list