From 86658b0b18719c93fca359be65904ff366be9985 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 16 Oct 2018 21:55:05 +0200 Subject: [PATCH] perl-netaddr-ip: build the XS version the generated subdirectory Makefiles are now fixed now, the Pure Perl version is only useful when BR2_STATIC_LIBS Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/perl-netaddr-ip/perl-netaddr-ip.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/perl-netaddr-ip/perl-netaddr-ip.mk b/package/perl-netaddr-ip/perl-netaddr-ip.mk index a1f02c6912..e96e42a852 100644 --- a/package/perl-netaddr-ip/perl-netaddr-ip.mk +++ b/package/perl-netaddr-ip/perl-netaddr-ip.mk @@ -10,8 +10,8 @@ PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER PERL_NETADDR_IP_LICENSE = Artistic or GPL-1.0+ PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying -# we always build the Pure Perl version. -# the build of the native part of NetAddr::IP::Util is buggy. +ifeq ($(BR2_STATIC_LIBS),y) PERL_NETADDR_IP_CONF_OPTS = -noxs +endif $(eval $(perl-package)) -- 2.30.2