From: Francois Perrad Date: Sun, 10 Aug 2014 18:17:25 +0000 (+0200) Subject: perl: fix warnings at runtime X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d70f19ee93e573ccfec08cb594d9c44aab7b6fa2;p=buildroot.git perl: fix warnings at runtime autosplit.ix files are used by AutoLoader.pm Can't locate auto/Net/SSLeay/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.2/arm-linux /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/5.18.2/arm-linux /usr/lib/perl5/5.18.2 .) at /usr/lib/perl5/5.18.2/AutoLoader.pm line 181. at /usr/lib/perl5/site_perl/5.18.2/arm-linux/Net/SSLeay.pm line 24. Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- diff --git a/package/perl/perl.mk b/package/perl/perl.mk index e01570ea7d..01e0166eb4 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -129,7 +129,6 @@ define PERL_FINALIZE_TARGET find $(TARGET_DIR)/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f find $(TARGET_DIR)/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f find $(TARGET_DIR)/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f - find $(TARGET_DIR)/usr/lib/perl5/ -name 'autosplit.ix' -print0 | xargs -0 rm -f endef TARGET_FINALIZE_HOOKS += PERL_FINALIZE_TARGET