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 ned.deily, pitrou, ronaldoussoren
Date 2010-05-01.08:32:43
SpamBayes Score 1.5996525e-07
Marked as misclassified No
Message-id <1272702771.52.0.76290627033.issue7724@psf.upfronthosting.co.za>
In-reply-to
Content
I've cleaned up the patch and made it clearer that platforms other than OSX aren't affected by rewriting code like this:

f = os.path.join(d, "db.h")
if sys.platform == "darwin" and is_macosx_sdk_path(d):
   f = os.path.join(sysroot, d[1:], "db.h")

The new version of the patch is also more compreshensive, I've added SDK-awareness code for the sqlite and bdb extensions as well, those looked for files without using find_file (because they do more than just look at files).

I can build unix-style and framework builds with this patch, both with and without specifying SDKs. I haven't tested the results on a linux box yet.

I intent to apply this patch on sunday.

Note: the patch intentionally doesn't include an update to Misc/NEWS, I will write that bit when I actually commit. 

I'll also forward port to 3.2 when committing.
History
Date User Action Args
2010-05-01 08:32:52ronaldoussorensetrecipients: + ronaldoussoren, pitrou, ned.deily
2010-05-01 08:32:51ronaldoussorensetmessageid: <1272702771.52.0.76290627033.issue7724@psf.upfronthosting.co.za>
2010-05-01 08:32:48ronaldoussorenlinkissue7724 messages
2010-05-01 08:32:47ronaldoussorencreate