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:27 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-25 23:03:02 +0200
commit3c3da6140bdf93d76740515582507b651297fd1f (patch)
treee25986276c123a51ef9550d8ef62efe453d646bc /package/perl-net-ssh2/perl-net-ssh2.mk
parent8868e6e3404b6bb5d8c562e65efb59eef256bac4 (diff)
downloadbuildroot-3c3da6140bdf93d76740515582507b651297fd1f.tar.gz
buildroot-3c3da6140bdf93d76740515582507b651297fd1f.zip
perl-net-ssh2: avoid build system inspecting host paths
During investigation of adding gcrypt support in perl-net-ssh2, it became clear that its build system is trying to find libraries via host search paths, i.e. /usr/lib64/ etc. This can be avoided by explicitly passing a 'lib' and 'inc' path. 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 b174fa6210..77d39edef5 100644
--- a/package/perl-net-ssh2/perl-net-ssh2.mk
+++ b/package/perl-net-ssh2/perl-net-ssh2.mk
@@ -10,5 +10,9 @@ 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 zlib
+# build system will use host search paths by default
+PERL_NET_SSH2_CONF_OPTS += \
+ lib="$(STAGING_DIR)/usr/lib" \
+ inc="$(STAGING_DIR)/usr/include"
$(eval $(perl-package))
OpenPOWER on IntegriCloud