compile python with sqlite loadable extensions (#14132)

This commit is contained in:
Sinan 2019-12-12 20:58:16 -08:00 committed by Adam J. Stewart
parent ddfca1b2f2
commit 0d7b9de3be

View file

@ -289,6 +289,10 @@ def configure_args(self):
spec['tcl'].libs.ld_flags, spec['tk'].libs.ld_flags) 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 return config_args
@run_after('install') @run_after('install')