aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-12-04 22:46:45 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-12-04 22:46:45 +0100
commitbf81813e9f3eda1b7a61407e02ebe57a520b335e (patch)
tree818cbba6e2ac2e7cf2137a27278de6b7fcdc1204 /.github
parent73ff92cfebc7226eb00358d999d41600e0553e4f (diff)
downloadPROJ-bf81813e9f3eda1b7a61407e02ebe57a520b335e.tar.gz
PROJ-bf81813e9f3eda1b7a61407e02ebe57a520b335e.zip
CI: test with a SQLite3 binary built with SQLITE_DQS=0 to avoid issue #2480
Diffstat (limited to '.github')
-rwxr-xr-x.github/workflows/mingw_w64/start.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/mingw_w64/start.sh b/.github/workflows/mingw_w64/start.sh
index e6d04ff0..2b42381f 100755
--- a/.github/workflows/mingw_w64/start.sh
+++ b/.github/workflows/mingw_w64/start.sh
@@ -88,10 +88,11 @@ tar xzf tiff-4.1.0.tar.gz
ln -s /usr/$MINGW_ARCH/bin/libtiff-5.dll $WINE_SYSDIR
# build sqlite3
-wget https://sqlite.org/2018/sqlite-autoconf-3250100.tar.gz
-tar xzf sqlite-autoconf-3250100.tar.gz
-(cd sqlite-autoconf-3250100 &&
-./configure --host=$MINGW_ARCH --prefix=/usr/$MINGW_ARCH && make && sudo make install)
+wget https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
+tar xzf sqlite-autoconf-3330000.tar.gz
+# Build with SQLITE_DQS=0 to ensure we properly use single quotes and double quotes (cf issue #2480)
+(cd sqlite-autoconf-3330000 &&
+CFLAGS="-DSQLITE_DQS=0" ./configure --host=$MINGW_ARCH --prefix=/usr/$MINGW_ARCH && make && sudo make install)
ln -s /usr/$MINGW_ARCH/bin/libsqlite3-0.dll $WINE_SYSDIR
# prepare build files