[db] Use custom LIKE operator adapted from sqlite's icu.c (closes #1390)

Improves the search, e.g.:
- 'é' LIKE 'e'
- 'æ' LIKE 'Æ'
- 'Ö' LIKE 'o'
This commit is contained in:
ejurgensen
2022-02-09 23:00:39 +01:00
parent edd22b6874
commit 616be4d8cb
3 changed files with 464 additions and 23 deletions

View File

@@ -2,8 +2,8 @@ pkglib_LTLIBRARIES = owntone-sqlext.la
owntone_sqlext_la_SOURCES = sqlext.c
owntone_sqlext_la_LDFLAGS = -avoid-version -module -shared
AM_CPPFLAGS += \
$(COMMON_CPPFLAGS)
owntone_sqlext_la_LIBADD = \
$(COMMON_LIBS)
AM_CPPFLAGS += \
$(COMMON_CPPFLAGS)