summaryrefslogtreecommitdiff
path: root/meta/recipes-support/apr
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-11-15 12:58:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-16 17:24:53 +0000
commit94b7566ac9d07ad3e1b55f12988f53812d3651cd (patch)
tree1466701167f154205a630c4f2b3623c140f21ace /meta/recipes-support/apr
parent2856d3f6aca0c20acd40f7f8970ec8590e4889a8 (diff)
downloadopenembedded-core-94b7566ac9d07ad3e1b55f12988f53812d3651cd.tar.gz
openembedded-core-94b7566ac9d07ad3e1b55f12988f53812d3651cd.tar.bz2
openembedded-core-94b7566ac9d07ad3e1b55f12988f53812d3651cd.zip
apr-util: extend sed call to fix libtool patch for case without SHELL in LIBTOOL variable
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr')
-rw-r--r--meta/recipes-support/apr/apr-util_1.3.12.bb2
1 files changed, 2 insertions, 0 deletions
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"