summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/gis/qgis/spatialite-path.patch
blob: cdfd0b8cef83c800589cd9766b1faf1856160cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/python/utils.py b/python/utils.py
index 1234567890..abcdef1234 100644
--- a/python/utils.py
+++ b/python/utils.py
@@ -938,6 +938,7 @@ def spatialite_connect(*args, **kwargs):
     con = sqlite3.dbapi2.connect(*args, **kwargs)
     con.enable_load_extension(True)
     cur = con.cursor()
     libs = [
+        ("@spatialiteLib@", "sqlite3_modspatialite_init"),
         # SpatiaLite >= 4.2 and Sqlite >= 3.7.17, should work on all platforms
         ("mod_spatialite", "sqlite3_modspatialite_init"),
         # SpatiaLite >= 4.2 and Sqlite < 3.7.17 (Travis)
         ("mod_spatialite.so", "sqlite3_modspatialite_init"),