From bf81813e9f3eda1b7a61407e02ebe57a520b335e Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 4 Dec 2020 22:46:45 +0100 Subject: CI: test with a SQLite3 binary built with SQLITE_DQS=0 to avoid issue #2480 --- .github/workflows/mingw_w64/start.sh | 9 +++++---- 1 file 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 -- cgit v1.2.3