summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-01 12:57:08 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-01 13:00:01 (GMT)
commit3628791f6f978d23fc07ae0d94a09a1153d2de85 (patch)
tree9e9ee893d4686bd2d14d774400b3363efc8b2d7d
parent76d190078dc0960e4278cbcb18c85c0b8e82b47b (diff)
downloadbuildroot-3628791f6f978d23fc07ae0d94a09a1153d2de85.tar.gz
buildroot-3628791f6f978d23fc07ae0d94a09a1153d2de85.tar.bz2
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>
-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 a5a1ce1..7034198 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))