summaryrefslogtreecommitdiffstats
path: root/rules/gnutls.make
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-01-26 10:41:23 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-01-29 20:36:01 +0100
commitb03c58945c39e741e79755388d384edc38f369ce (patch)
tree45fee1cd00a6a0915488ff3acbb048b6c3c830ce /rules/gnutls.make
parent231c1f4a8b7bbca22f946c0874ad9c38136bbab1 (diff)
downloadptxdist-b03c58945c39e741e79755388d384edc38f369ce.tar.gz
ptxdist-b03c58945c39e741e79755388d384edc38f369ce.tar.xz
gnutls: add support for openssl compatibility
This patch adds a openssl compatibility option to gnutls and install the gnutls openssl compatibility library if enabled. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gnutls.make')
-rw-r--r--rules/gnutls.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/gnutls.make b/rules/gnutls.make
index b64a36c1f..08923aed5 100644
--- a/rules/gnutls.make
+++ b/rules/gnutls.make
@@ -38,6 +38,7 @@ GNUTLS_CONF_OPT := \
--with-libgcrypt \
--with-libgcrypt-prefix=$(PTXDIST_SYSROOT_TARGET)/usr \
--without-p11-kit \
+ --$(call ptx/endis, PTXCONF_GNUTLS_OPENSSL)-openssl-compatibility \
--disable-guile
# ----------------------------------------------------------------------------
@@ -55,6 +56,10 @@ $(STATEDIR)/gnutls.targetinstall:
@$(call install_lib, gnutls, 0, 0, 0644, libgnutls)
+ifdef PTXCONF_GNUTLS_OPENSSL
+ @$(call install_lib, gnutls, 0, 0, 0644, libgnutls-openssl)
+endif
+
@$(call install_finish, gnutls)
@$(call touch)