enchant: Fix dependencies.
authorWill Newton <will.newton@gmail.com>
Fri, 7 Aug 2009 16:06:32 +0000 (17:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2009 17:00:40 +0000 (19:00 +0200)
Enchant requires C++ support, libglib2 and pkg-config.

Signed-off-by: Will Newton <will.newton@gmail.com>
package/enchant/Config.in
package/enchant/enchant.mk

index 0771a47b9f6044b1ac43233847bb0429deadbdf4..e65d68116f5a25692b6642c52d1e9dc3f088a172 100644 (file)
@@ -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.
index d9724651529cbdba0328ac6c4001820b8a464641..63cd311c6562a6d17a7a9cdbf3fb7c75c3de96a3 100644 (file)
@@ -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))