libesmtp: add optional openssl support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jan 2012 22:34:15 +0000 (23:34 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jan 2012 22:34:40 +0000 (23:34 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libesmtp/libesmtp.mk

index 63f31923c8183942c7d316fdd1287a218f5ea43e..f9be7cc0d6e7131fcde0bcfc5be0e1e673399da3 100644 (file)
@@ -8,4 +8,6 @@ LIBESMTP_SOURCE = libesmtp-$(LIBESMTP_VERSION).tar.bz2
 LIBESMTP_SITE = http://www.stafford.uklinux.net/libesmtp
 LIBESMTP_INSTALL_STAGING = YES
 
+LIBESMTP_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)
+
 $(eval $(call AUTOTARGETS))