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 <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2018-10-16 21:55:05 +02:00 committed by Thomas Petazzoni
parent 516dbcda80
commit 86658b0b18

View 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))