summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-01 13:57:08 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-01 14:00:01 +0100
commit3628791f6f978d23fc07ae0d94a09a1153d2de85 (patch)
tree9e9ee893d4686bd2d14d774400b3363efc8b2d7d /package
parent76d190078dc0960e4278cbcb18c85c0b8e82b47b (diff)
downloadbuildroot-novena-3628791f6f978d23fc07ae0d94a09a1153d2de85.tar.gz
buildroot-novena-3628791f6f978d23fc07ae0d94a09a1153d2de85.zip
libeet: fix build with gcrypt
libeet needs both gnutls and libgcrypt for ssl handling. Fixes http://autobuild.buildroot.net/results/tmp/f45782cf73338930644c69dccf2f18167083d121/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/efl/libeet/libeet.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/efl/libeet/libeet.mk b/package/efl/libeet/libeet.mk
index a5a1ce1d5..70341987d 100644
--- a/package/efl/libeet/libeet.mk
+++ b/package/efl/libeet/libeet.mk
@@ -14,5 +14,13 @@ LIBEET_INSTALL_STAGING = YES
LIBEET_DEPENDENCIES = host-pkgconf zlib jpeg libeina
+ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
+LIBEET_DEPENDENCIES += gnutls libgcrypt
+LIBEET_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
+LIBEET_CONF_OPT += --enable-gnutls
+else
+LIBEET_CONF_OPT += --disable-gnutls
+endif
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))