python: target OS X 10.6

Targeting anything older lacks rpath stuff which configure uses.
This commit is contained in:
Ben Boeckel 2015-11-19 17:52:22 -05:00
parent 8feaefadcf
commit c023b1000e

View File

@ -26,6 +26,7 @@ class Python(Package):
def install(self, spec, prefix):
# Need this to allow python build to find the Python installation.
env['PYTHONHOME'] = prefix
env['MACOSX_DEPLOYMENT_TARGET'] = '10.6'
# Rest of install is pretty standard.
configure("--prefix=%s" % prefix,