* [PATCH] libtool: Don't hardcode grep paths
@ 2016-02-18 8:16 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-18 8:16 UTC (permalink / raw)
To: openembedded-core
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>
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.6.inc b/meta/recipes-devtools/libtool/libtool-2.4.6.inc
index de06ccb..f307a10 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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-18 8:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18 8:16 [PATCH] libtool: Don't hardcode grep paths Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.