Skip to contentSkip to conversation

libtool: Don't hardcode grep paths

PATCH New Richard Purdie 1 participant 1 message Feb 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

meta/recipes-devtools/libtool/libtool-2.4.6.inc +2 -0
index de06ccb..f307a10 100644
@@ -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"