diff --git a/var/spack/repos/builtin/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py index d1533cfe52..722fe46a67 100644 --- a/var/spack/repos/builtin/packages/vim/package.py +++ b/var/spack/repos/builtin/packages/vim/package.py @@ -92,11 +92,11 @@ def configure_args(self): if '+python' in spec: if 'python@3:' in self.spec: - configure_args.append("--enable-python3interp=yes") + configure_args.append("--enable-python3interp=dynamic") configure_args.append("--enable-pythoninterp=no") else: configure_args.append("--enable-python3interp=no") - configure_args.append("--enable-pythoninterp=yes") + configure_args.append("--enable-pythoninterp=dynamic") else: configure_args.append("--enable-python3interp=no")