--- orig/Build.py		   2009-12-15 11:03:57.000000000 -0500
+++ src/Build.py		   2010-02-19 13:41:36.505572176 -0500
@@ -381,6 +381,15 @@
         Python executable to the libpython, so bindepend doesn't include
         it in its output.
         """
+        # minimal patch for OSX.  Loader expects "Python" framework lib to be bundled
+        if target_platform == "darwin":
+            lib = os.path.join(sys.exec_prefix,'Python')
+            try:
+                exists = os.stat(lib)
+                binaries.append(('Python', lib, 'BINARY'))
+            except:
+                print 'Warning: could not find python framework to bundle'
+
         if target_platform != 'linux2': return
 
         name = 'libpython%d.%d.so' % sys.version_info[:2]
