aboutsummaryrefslogtreecommitdiffstats
path: root/package/efl
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-01-01 03:23:58 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-01 15:34:40 +0100
commit560e7db37433fc82760f71557dbc3e495f05f909 (patch)
tree46e37040de255759bf503192179d77ecbc4162e2 /package/efl
parenta24479144fb71a1c6a6b6fb16799cc83f49be56c (diff)
downloadbuildroot-novena-560e7db37433fc82760f71557dbc3e495f05f909.tar.gz
buildroot-novena-560e7db37433fc82760f71557dbc3e495f05f909.zip
efl/libecore: fix build with gcrypt
When building with gnutls, libecore also needs libgcrypt. Fixes: http://autobuild.buildroot.org/results/4da454d6414cf8f4e638defae9b793fb46a0a072/build-end.log While we're at it, also explicit the --enable-openssl / --disable-openssl depending on whether openssl is available or not. [Peter: only enable gnutls support when both gnutls and gcrypt are enabled] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/efl')
-rw-r--r--package/efl/libecore/libecore.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
index 0220017df..dfc575023 100644
--- a/package/efl/libecore/libecore.mk
+++ b/package/efl/libecore/libecore.mk
@@ -36,10 +36,16 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBECORE_DEPENDENCIES += openssl
+LIBECORE_CONF_OPT += --enable-openssl
+else
+LIBECORE_CONF_OPT += --disable-openssl
endif
-ifeq ($(BR2_PACKAGE_GNUTLS),y)
-LIBECORE_DEPENDENCIES += gnutls
+ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
+LIBECORE_DEPENDENCIES += gnutls libgcrypt
+LIBECORE_CONF_OPT += --enable-gnutls --with-libgcrypt-prefix=$(STAGING_DIR)/usr
+else
+LIBECORE_CONF_OPT += --disable-gnutls
endif
ifeq ($(BR2_PACKAGE_LIBCURL),y)