summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-11-09 19:37:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-12 15:38:31 +0000
commit12fe05c4400a0c24aa0a2f29c8f0e50573047b0e (patch)
treec87945686be2996ef17382fcb4301dda0cffc7f2 /meta/recipes-support/apr
parent5c69e44ca87deac19c9a28637cb0e088338826db (diff)
downloadast2050-yocto-poky-12fe05c4400a0c24aa0a2f29c8f0e50573047b0e.zip
ast2050-yocto-poky-12fe05c4400a0c24aa0a2f29c8f0e50573047b0e.tar.gz
apr-native: Set CONFIG_SHELL to /bin/bash
The apr-native provides usr/share/build-1/libtool which is required by the recipe such as apache2-native. If we don't set the CONFIG_SHELL to /bin/bash, then: 1) If we build apr-native on a host which is "/bin/sh -> bash", the interpreter in usr/share/build-1/libtool would be "#!/bin/sh". 2) When we re-use apr-native's sstate on a host which is "/bin/sh -> dash", there would be errors. (From OE-Core rev: 38d83009dfe77437533969ce681605a9ab9534ac) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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_1.5.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb
index 17dddbc..49a08b0 100644
--- a/meta/recipes-support/apr/apr_1.5.1.bb
+++ b/meta/recipes-support/apr/apr_1.5.1.bb
@@ -86,3 +86,5 @@ do_install_ptest() {
cp ${S}/test/testall $t/
cp ${S}/test/tryread $t/
}
+
+export CONFIG_SHELL="/bin/bash"
OpenPOWER on IntegriCloud