From: Martin Jansa Date: Tue, 15 Nov 2011 20:58:35 +0000 (-0800) Subject: apr-util: extend sed call to fix libtool patch for case without SHELL in LIBTOOL... X-Git-Tag: 2015-4~12777 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=94b7566ac9d07ad3e1b55f12988f53812d3651cd;p=openembedded-core.git 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 --- 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 0064c51553..62d72cfd72 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"