Commit 856c64b1 authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Leonardo Arena

main/sqlite: Enabled FTS3

SQLITE_ENABLE_FTS3 is already defined via `-DSQLITE_ENABLE_FTS3` in
`CFLAGS`, however this approach does not work (compile source below to
verify). Adding `--enable-fts3` as parameter did the trick. FTS3 is required
e.g. by Firefox.

	#include <stdio.h>
	#include "sqlite3.h"

	int main(int argc, char **argv){
		if (sqlite3_compileoption_used("SQLITE_ENABLE_FTS3"))
			puts("yes");
		else
			puts("no");

		return 0;
	}
parent 00b1814e
......@@ -2,7 +2,7 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
pkgname=sqlite
pkgver=3.26.0
pkgrel=2
pkgrel=3
pkgdesc="C library that implements an SQL database engine"
url="http://www.sqlite.org"
arch="all"
......@@ -58,7 +58,8 @@ build() {
--enable-threadsafe \
--enable-readline \
--enable-static \
--enable-dynamic-extensions
--enable-dynamic-extensions \
--enable-fts3
# rpath removal
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment