package/perl-net-ssh2: fix gcrypt build

Pass crypto_backend option to avoid the following build failure raised
since bump to version 0.72 in commit
cd1d56bcde and
86a1274534:

/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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-08-11 22:58:14 +02:00 committed by Thomas Petazzoni
parent c20d31baf4
commit 3d8ce1975f

View File

@ -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))