From 94b7566ac9d07ad3e1b55f12988f53812d3651cd Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 15 Nov 2011 12:58:35 -0800 Subject: apr-util: extend sed call to fix libtool patch for case without SHELL in LIBTOOL variable Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/recipes-support/apr/apr-util_1.3.12.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/apr/apr-util_1.3.12.bb b/meta/recipes-support/apr/apr-util_1.3.12.bb index 0064c5155..62d72cfd7 100644 --- a/meta/recipes-support/apr/apr-util_1.3.12.bb +++ b/meta/recipes-support/apr/apr-util_1.3.12.bb @@ -40,6 +40,8 @@ do_configure_prepend_virtclass-native() { } do_configure_append_virtclass-native() { sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk + # sometimes there isn't SHELL + sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk } FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" -- cgit v1.2.3