summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/libtool/libtool-2.4.6.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-18 08:13:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-18 22:55:10 +0000
commitf6e7a3b1ac75c274493666b9a31cca83b7d2138b (patch)
tree091a2a1c75ab613c0811a72cc86cc34eae86849b /meta/recipes-devtools/libtool/libtool-2.4.6.inc
parent51c6ea30060eeddf93e4255cbd3847fc6aedaf9f (diff)
downloadopenembedded-core-f6e7a3b1ac75c274493666b9a31cca83b7d2138b.tar.gz
openembedded-core-f6e7a3b1ac75c274493666b9a31cca83b7d2138b.tar.bz2
openembedded-core-f6e7a3b1ac75c274493666b9a31cca83b7d2138b.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool-2.4.6.inc')
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.6.inc2
1 files changed, 2 insertions, 0 deletions
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"