summaryrefslogtreecommitdiffstats
path: root/package/perl-net-ssh2/perl-net-ssh2.mk
diff options
context:
space:
mode:
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>2018-07-23 22:06:28 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-25 23:04:09 +0200
commit2b361e7b459d62af4cc5e85427dee603e3ee4ff3 (patch)
tree61a4838858e8a27012790682d0231ce933e0a7c2 /package/perl-net-ssh2/perl-net-ssh2.mk
parent3c3da6140bdf93d76740515582507b651297fd1f (diff)
downloadbuildroot-2b361e7b459d62af4cc5e85427dee603e3ee4ff3.tar.gz
buildroot-2b361e7b459d62af4cc5e85427dee603e3ee4ff3.zip
perl-net-ssh2: add support for libgcrypt crypto backend
Fix usage of libgcrypt as crypto backend to libssh2, when building perl-net-ssh2. In order to achieve that, we need to use 'depends on' the libssh2 backends, which means the user will first need to enable libssh2 and one of the supported backends, before being able to enable perl-net-ssh2. Fixes http://autobuild.buildroot.net/results/6ee18e7dd17f168c52f79e49cb5e94cf3aa3df1a/ Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/perl-net-ssh2/perl-net-ssh2.mk')
-rw-r--r--package/perl-net-ssh2/perl-net-ssh2.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/perl-net-ssh2/perl-net-ssh2.mk b/package/perl-net-ssh2/perl-net-ssh2.mk
index 77d39edef5..ebd5803826 100644
--- a/package/perl-net-ssh2/perl-net-ssh2.mk
+++ b/package/perl-net-ssh2/perl-net-ssh2.mk
@@ -15,4 +15,8 @@ PERL_NET_SSH2_CONF_OPTS += \
lib="$(STAGING_DIR)/usr/lib" \
inc="$(STAGING_DIR)/usr/include"
+ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y)
+PERL_NET_SSH2_CONF_OPTS += gcrypt
+endif
+
$(eval $(perl-package))
OpenPOWER on IntegriCloud