[Buildroot] [git commit branch/next] package/c-icap: add optional support for openssl
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 23 13:40:34 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=5c8cc5dadd7f587e22b9de02ffc1b0ad8679ae29
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Optional OpenSSL was added with version 0.5.1:
https://sourceforge.net/p/c-icap/news/2017/03/the-c-icap-051-is-released-/
https://sourceforge.net/p/c-icap/code/1253/#diff-5
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/c-icap/c-icap.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk
index 82b2574..e57ecd0 100644
--- a/package/c-icap/c-icap.mk
+++ b/package/c-icap/c-icap.mk
@@ -54,6 +54,13 @@ else
C_ICAP_CONF_OPTS += --without-ldap
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+C_ICAP_CONF_OPTS += --with-openssl
+C_ICAP_DEPENDENCIES += openssl
+else
+C_ICAP_CONF_OPTS += --without-openssl
+endif
+
ifeq ($(BR2_PACKAGE_PCRE),y)
C_ICAP_CONF_OPTS += --with-pcre
C_ICAP_DEPENDENCIES += pcre
More information about the buildroot
mailing list