From f6e7a3b1ac75c274493666b9a31cca83b7d2138b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 18 Feb 2016 08:13:02 +0000 Subject: libtool: Don't hardcode grep paths If sharing sstate between different distros, some of which have /bin/grep and some /usr/bin/grep, this can break. Simply don't hardcode the path. Signed-off-by: Richard Purdie --- meta/recipes-devtools/libtool/libtool-2.4.6.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/libtool') diff --git a/meta/recipes-devtools/libtool/libtool-2.4.6.inc b/meta/recipes-devtools/libtool/libtool-2.4.6.inc index de06ccb251..f307a10751 100644 --- a/meta/recipes-devtools/libtool/libtool-2.4.6.inc +++ b/meta/recipes-devtools/libtool/libtool-2.4.6.inc @@ -35,6 +35,8 @@ do_compile_prepend () { inherit autotools texinfo EXTRA_AUTORECONF = "--exclude=libtoolize" +CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep" + DEPENDS = "libtool-native" PACKAGES =+ "libltdl" -- cgit v1.2.3