diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk index 750b231c7c..e32e0dc15d 100644 --- a/package/c-icap/c-icap.mk +++ b/package/c-icap/c-icap.mk @@ -41,6 +41,13 @@ else C_ICAP_CONF_OPTS += --without-bzip2 endif +ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y) +C_ICAP_CONF_OPTS += --with-memcached +C_ICAP_DEPENDENCIES += libmemcached +else +C_ICAP_CONF_OPTS += --without-memcached +endif + ifeq ($(BR2_PACKAGE_OPENLDAP),y) C_ICAP_CONF_OPTS += --with-ldap C_ICAP_DEPENDENCIES += openldap