3d8ce1975f
Pass crypto_backend option to avoid the following build failure raised since bump to version 0.72 in commitcd1d56bcde
and86a1274534
: /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>
25 lines
772 B
Makefile
25 lines
772 B
Makefile
################################################################################
|
|
#
|
|
# perl-net-ssh2
|
|
#
|
|
################################################################################
|
|
|
|
PERL_NET_SSH2_VERSION = 0.72
|
|
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.pod
|
|
PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
|
|
PERL_NET_SSH2_DISTNAME = Net-SSH2
|
|
|
|
# build system will use host search paths by default
|
|
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 += crypto_backend=gcrypt
|
|
endif
|
|
|
|
$(eval $(perl-package))
|