From daf5409a75e97aa5a60b11e9f150e2532676889e Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 3 Aug 2009 15:01:12 +0000 Subject: libtool: Do not use target paths to grep and sed for cross and sdk builds. --- recipes/libtool/libtool_2.2.6a.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'recipes/libtool/libtool_2.2.6a.bb') diff --git a/recipes/libtool/libtool_2.2.6a.bb b/recipes/libtool/libtool_2.2.6a.bb index 3eb2080f2f..e2996c7198 100644 --- a/recipes/libtool/libtool_2.2.6a.bb +++ b/recipes/libtool/libtool_2.2.6a.bb @@ -19,10 +19,12 @@ EXTRA_AUTORECONF = "--exclude=libtoolize" do_configure_prepend () { # Skip this for native build: if test -n "$CONFIG_SITE" ; then - export ac_cv_path_SED="${ac_cv_path_SED=/bin/sed}" - export ac_cv_path_GREP="${ac_cv_path_GREP=/bin/grep}" - export ac_cv_path_EGREP="${ac_cv_path_EGREP=/bin/grep -E}" - export ac_cv_path_FGREP="${ac_cv_path_FGREP=/bin/grep -F}" + if test -z "$LIBTOOL_BB_DO_NOT_SET_PATHS" ; then + export ac_cv_path_SED="${ac_cv_path_SED=/bin/sed}" + export ac_cv_path_GREP="${ac_cv_path_GREP=/bin/grep}" + export ac_cv_path_EGREP="${ac_cv_path_EGREP=/bin/grep -E}" + export ac_cv_path_FGREP="${ac_cv_path_FGREP=/bin/grep -F}" + fi fi } -- cgit 1.2.3-korg