summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-11-19 17:52:22 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2015-11-19 17:52:59 -0500
commitc023b1000e6f9044e40080f2bf10f0406ba6ec28 (patch)
treef21197a90a55f4a19471382bdfff1ea94b28d988
parent8feaefadcfcae04ccaa204b93502e23158f7a7d4 (diff)
downloadspack-c023b1000e6f9044e40080f2bf10f0406ba6ec28.tar.gz
spack-c023b1000e6f9044e40080f2bf10f0406ba6ec28.tar.bz2
spack-c023b1000e6f9044e40080f2bf10f0406ba6ec28.tar.xz
spack-c023b1000e6f9044e40080f2bf10f0406ba6ec28.zip
python: target OS X 10.6
Targeting anything older lacks rpath stuff which configure uses.
-rw-r--r--var/spack/packages/python/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/packages/python/package.py b/var/spack/packages/python/package.py
index 000881a846..31fb8b3d5a 100644
--- a/var/spack/packages/python/package.py
+++ b/var/spack/packages/python/package.py
@@ -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,