summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/enchant/Config.in2
-rw-r--r--package/enchant/enchant.mk2
2 files changed, 4 insertions, 0 deletions
diff --git a/package/enchant/Config.in b/package/enchant/Config.in
index 0771a47b9..e65d68116 100644
--- a/package/enchant/Config.in
+++ b/package/enchant/Config.in
@@ -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.
diff --git a/package/enchant/enchant.mk b/package/enchant/enchant.mk
index d97246515..63cd311c6 100644
--- a/package/enchant/enchant.mk
+++ b/package/enchant/enchant.mk
@@ -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))