perl-netaddr-ip: build the XS version
authorFrancois Perrad <fperrad@gmail.com>
Tue, 16 Oct 2018 19:55:05 +0000 (21:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 20 Oct 2018 17:30:14 +0000 (19:30 +0200)
the generated subdirectory Makefiles are now fixed

now, the Pure Perl version is only useful when BR2_STATIC_LIBS

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/perl-netaddr-ip/perl-netaddr-ip.mk

index a1f02c69120ebeaf0326d160bd9ab6b383f57cab..e96e42a852c4b0c50f3cc4dab95de8d8df842beb 100644 (file)
@@ -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))