[Buildroot] [git commit branch/2021.05.x] package/perl-net-ssh2: fix gcrypt build
Peter Korsgaard
peter at korsgaard.com
Sat Sep 4 20:13:38 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=ea06ae6bc790488d1e38418580d0e9956ab4ddad
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.05.x
Pass crypto_backend option to avoid the following build failure raised
since bump to version 0.72 in commit
cd1d56bcde2a571062a1943c88506a8d9d2db357 and
https://github.com/rkitover/net-ssh2/commit/86a1274534dd7e0da03d98fb88c9c7ad4b1adb9b:
/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lssl
/tmp/instance-7/output-1/per-package/perl-net-ssh2/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lcrypto
Fixes:
- http://autobuild.buildroot.org/results/25747ec239e0b92775aa883e4f531f77d45f352e
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 3d8ce1975ff90f06818e74aa9b6a0c8ecc6f3d2d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/perl-net-ssh2/perl-net-ssh2.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/perl-net-ssh2/perl-net-ssh2.mk b/package/perl-net-ssh2/perl-net-ssh2.mk
index 5572e23257..20e45b6287 100644
--- a/package/perl-net-ssh2/perl-net-ssh2.mk
+++ b/package/perl-net-ssh2/perl-net-ssh2.mk
@@ -18,7 +18,7 @@ PERL_NET_SSH2_CONF_OPTS += \
inc="$(STAGING_DIR)/usr/include"
ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y)
-PERL_NET_SSH2_CONF_OPTS += gcrypt
+PERL_NET_SSH2_CONF_OPTS += crypto_backend=gcrypt
endif
$(eval $(perl-package))
More information about the buildroot
mailing list