summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/python/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py
index 3bd412b11e..546286bb12 100644
--- a/var/spack/repos/builtin/packages/python/package.py
+++ b/var/spack/repos/builtin/packages/python/package.py
@@ -289,6 +289,10 @@ class Python(AutotoolsPackage):
spec['tcl'].libs.ld_flags, spec['tk'].libs.ld_flags)
])
+ # https://docs.python.org/3.8/library/sqlite3.html#f1
+ if spec.satisfies('@3.2: +sqlite3'):
+ config_args.append('--enable-loadable-sqlite-extensions')
+
return config_args
@run_after('install')