Files
macports-ports/lang/python27/files/enable-loadable-sqlite-extensions.patch
Lawrence Velázquez fafa2fd37a python*: Enable loadable SQLite extensions
This is disabled by default because Apple's system SQLite does not
support loadable extensions. But ours does.

Closes https://trac.macports.org/ticket/49317.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@153800 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-10-11 19:38:22 +00:00

17 lines
619 B
Diff

https://trac.macports.org/ticket/49317
Upstream-Status: Inappropriate [enable feature]
Index: setup.py
===================================================================
--- setup.py.orig
+++ setup.py
@@ -1158,7 +1158,6 @@ class PyBuildExt(build_ext):
sqlite_defines.append(('MODULE_NAME', '\\"sqlite3\\"'))
# Comment this out if you want the sqlite3 module to be able to load extensions.
- sqlite_defines.append(("SQLITE_OMIT_LOAD_EXTENSION", "1"))
if host_platform == 'darwin':
# In every directory on the search path search for a dynamic