compile python with sqlite loadable extensions (#14132)
This commit is contained in:
parent
ddfca1b2f2
commit
0d7b9de3be
1 changed files with 4 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue