From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 4F4F46E668 for ; Thu, 18 Feb 2016 08:16:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u1I8GLNk025066 for ; Thu, 18 Feb 2016 08:16:21 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RcK7OT_kyNJu for ; Thu, 18 Feb 2016 08:16:21 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u1I8GKKQ025054 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 18 Feb 2016 08:16:21 GMT Message-ID: <1455783380.28376.74.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Thu, 18 Feb 2016 08:16:20 +0000 X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Subject: [PATCH] libtool: Don't hardcode grep paths X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 08:16:23 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 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"