PKGNAME=libvoikko
PKGSEC=libs
PKGDEP="gcc-runtime"
PKGDES="Finnish spelling and grammar checker with built-in linguistic data"

# FIXME: ./voikko.h:306:6: error: 'voikkoFreeGrammarError' violates the C++ One Definition Rule [-Werror=odr]
#
# Link: https://github.com/voikko/corevoikko/issues/62
# Link: https://github.com/voikko/corevoikko/commit/2744023a69ae9e469f9458c34b34d3cd4f336dd1
NOLTO=1

AUTOTOOLS_AFTER=(
    '--enable-hfst=false'
    '--with-dictionary-path=/usr/share/voikko'
)
