Enchant requires C++ support, libglib2 and pkg-config. Signed-off-by: Will Newton <will.newton@gmail.com>
@@ -1,5 +1,7 @@
config BR2_PACKAGE_ENCHANT
bool "enchant"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_LIBGLIB2
help
Enchant is a spell-checking library that provides a consistent
API across a number of spell-checking system backends.
@@ -11,4 +11,6 @@ ENCHANT_INSTALL_STAGING = YES
ENCHANT_INSTALL_TARGET = YES
ENCHANT_LIBTOOL_PATCH = NO
+ENCHANT_DEPENDENCIES = libglib2 host-pkgconfig
+
$(eval $(call AUTOTARGETS,package,enchant))