path: root/meta/recipes-devtools/libtool
diff options
authorRichard Purdie <>2014-01-23 12:10:01 +0000
committerRichard Purdie <>2014-01-23 12:18:05 +0000
commit1a9226f140f578f11696abf1a3c989fae1d4c14a (patch)
tree0bab73c1e390e2faafd7a612d59dfaa99271807d /meta/recipes-devtools/libtool
parentd11d782b33e74638b918ec22df15399c86a5c849 (diff)
libtool-cross/native: Force usage of bash due to sstate inconsistencies
Scenario: a) libtool script is built on system with bash as /bin/sh b) machine B installs sstate from build a) c) machine B has dash as /bin/sh In this scenario, the script fails to work properly since its expecting /bin/sh to have bash like syntax and it no longer does have it. This patch forces the configure process to use /bin/bash, not /bin/sh and hence allows the scripts to work correctly when used from sstate. (From OE-Core rev: 24d5b449e5f4d91119f0d8e13c457618811aadfc) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-devtools/libtool')
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/ b/meta/recipes-devtools/libtool/
index 34aae0b..72fad37 100644
--- a/meta/recipes-devtools/libtool/
+++ b/meta/recipes-devtools/libtool/
@@ -39,3 +39,5 @@ libtoolcross_sysroot_preprocess () {
SSTATE_SCAN_FILES += "libtoolize *-libtool"
+export CONFIG_SHELL="/bin/bash"
diff --git a/meta/recipes-devtools/libtool/ b/meta/recipes-devtools/libtool/
index df73f08..f1051d8 100644
--- a/meta/recipes-devtools/libtool/
+++ b/meta/recipes-devtools/libtool/
@@ -22,3 +22,4 @@ do_install () {
install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
+export CONFIG_SHELL="/bin/bash"
OpenPOWER on IntegriCloud