[Buildroot] [git commit] perl-net-ssh2: add missing dependency on zlib
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Jul 25 21:02:45 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=8868e6e3404b6bb5d8c562e65efb59eef256bac4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
perl-net-ssh2 requires zlib. When using the openssl backend to libssh2, this
dependency is implicit via openssl, but when using the libgcrypt backend the
dependency is missing.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/perl-net-ssh2/Config.in | 1 +
package/perl-net-ssh2/perl-net-ssh2.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/perl-net-ssh2/Config.in b/package/perl-net-ssh2/Config.in
index 07c42ee5b1..8f359b7015 100644
--- a/package/perl-net-ssh2/Config.in
+++ b/package/perl-net-ssh2/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PERL_NET_SSH2
bool "perl-net-ssh2"
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBSSH2
+ select BR2_PACKAGE_ZLIB
help
Support for the SSH 2 protocol via libssh2.
diff --git a/package/perl-net-ssh2/perl-net-ssh2.mk b/package/perl-net-ssh2/perl-net-ssh2.mk
index 6d84deb284..b174fa6210 100644
--- a/package/perl-net-ssh2/perl-net-ssh2.mk
+++ b/package/perl-net-ssh2/perl-net-ssh2.mk
@@ -9,6 +9,6 @@ PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz
PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SA/SALVA
PERL_NET_SSH2_LICENSE = Artistic or GPL-1.0+
PERL_NET_SSH2_LICENSE_FILES = README
-PERL_NET_SSH2_DEPENDENCIES = libssh2
+PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
$(eval $(perl-package))
More information about the buildroot
mailing list