Index: server/buildpkgs/sqlite3/build.sh ================================================================== --- server/buildpkgs/sqlite3/build.sh +++ server/buildpkgs/sqlite3/build.sh @@ -29,11 +29,15 @@ cd "${BUILDDIR}" || exit 1 cd "tea" || exit 1 chmod +x tclconfig/install-sh - CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" + # Enable FTS3 + CPPFLAGS="${CPPFLAGS} -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" + + # Enable RTree + CPPFLAGS="${CPPFLAGS} -DSQLITE_ENABLE_RTREE=1" export CPPFLAGS bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA} ${MAKE:-make} || exit 1