From dea5d913db9f98870eb4bd91ba1f8276e5e47d17 Mon Sep 17 00:00:00 2001 From: Elizabeth Fischer Date: Mon, 4 May 2020 13:30:59 -0800 Subject: Updates to Python for macOS (#16449) Co-authored-by: Elizabeth Fischer --- var/spack/repos/builtin/packages/python/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 712216f491..a9b04a2d5b 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -84,8 +84,9 @@ class Python(AutotoolsPackage): ) # --enable-shared is known to cause problems for some users on macOS + # This is a problem for Python 2.7 only, not Python3 # See http://bugs.python.org/issue29846 - variant('shared', default=sys.platform != 'darwin', + variant('shared', default=True, description='Enable shared libraries') # From https://docs.python.org/2/c-api/unicode.html: Python's default # builds use a 16-bit type for Py_UNICODE and store Unicode values -- cgit v1.2.3-60-g2f50