mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-44997: macOS does not support loadable SQLite extensions (GH-27979)
Authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This commit is contained in:
parent
94a3d2a632
commit
2ec9428e35
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -1605,6 +1605,8 @@ class PyBuildExt(build_ext):
|
|||
# if --enable-loadable-sqlite-extensions configure option is used.
|
||||
if '--enable-loadable-sqlite-extensions' not in sysconfig.get_config_var("CONFIG_ARGS"):
|
||||
sqlite_defines.append(("SQLITE_OMIT_LOAD_EXTENSION", "1"))
|
||||
elif MACOS and sqlite_incdir == os.path.join(MACOS_SDK_ROOT, "usr/include"):
|
||||
raise DistutilsError("System version of SQLite does not support loadable extensions")
|
||||
|
||||
if MACOS:
|
||||
# In every directory on the search path search for a dynamic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue