]> code.ossystems Code Review - openembedded-core.git/commitdiff
libtool: Don't hardcode grep paths
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Feb 2016 08:13:02 +0000 (08:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Feb 2016 22:55:10 +0000 (22:55 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/libtool/libtool-2.4.6.inc

index de06ccb251df20f667536d12894fd7e99013a70c..f307a1075132e75b859ee430166b0fe60e9bc23e 100644 (file)
@@ -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"