package/perl-extutils-pkgconfig: set PATH to BR_PATH
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 17 Feb 2021 06:49:49 +0000 (07:49 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 17 Feb 2021 16:25:26 +0000 (17:25 +0100)
Set PATH to BR_PATH to allow perl-extutils-pkgconfig to find pkg-config
binary

Fixes:
 - http://autobuild.buildroot.org/results/d87787fbf2a8cb9bbaa3b59d1e8004ad1459536a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.mk

index ba85b361879bd033d41803876594bb9bf38328cc..cb11e9f58806d2898f1527e9b43f7fc896aee780 100644 (file)
@@ -13,4 +13,6 @@ PERL_EXTUTILS_PKGCONFIG_DISTNAME = ExtUtils-PkgConfig
 
 HOST_PERL_EXTUTILS_PKGCONFIG_DEPENDENCIES = host-pkgconf
 
+HOST_PERL_EXTUTILS_PKGCONFIG_CONF_ENV = PATH=$(BR_PATH)
+
 $(eval $(host-perl-package))