From: Francois Perrad Date: Tue, 16 Oct 2018 19:55:05 +0000 (+0200) Subject: perl-netaddr-ip: build the XS version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86658b0b18719c93fca359be65904ff366be9985;p=buildroot.git 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 --- 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))