libecore: add optional tslib/glib/openssl/gnutls/curl support
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 Feb 2012 19:31:09 +0000 (20:31 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 12 Feb 2012 19:51:24 +0000 (20:51 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/efl/libecore/libecore.mk

index 5bc6532ccda93684322c60dc383abc7d9ab28fee..8c462693e283a237892185d210ea249f5bdefd07 100644 (file)
@@ -17,6 +17,26 @@ HOST_LIBECORE_CONF_OPT += --enable-ecore-evas
 # default options
 LIBECORE_CONF_OPT = --disable-simple-x11
 
+ifeq ($(BR2_PACKAGE_TSLIB),y)
+LIBECORE_DEPENDENCIES += tslib
+endif
+
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+LIBECORE_DEPENDENCIES += libglib2
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBECORE_DEPENDENCIES += openssl
+endif
+
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+LIBECORE_DEPENDENCIES += gnutls
+endif
+
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+LIBECORE_DEPENDENCIES += libcurl
+endif
+
 # libecore
 ifeq ($(BR2_PACKAGE_LIBECORE_DIRECTFB),y)
 LIBECORE_CONF_OPT += --enable-ecore-directfb