diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-11-09 19:37:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 15:36:12 +0000 |
commit | 38d83009dfe77437533969ce681605a9ab9534ac (patch) | |
tree | b5a0c38a2920b4008711ad076586280a0fb4ec5f /meta/recipes-support | |
parent | 8c219ef79ce9855524e483d13b3c9559f9233eb1 (diff) | |
download | openembedded-core-38d83009dfe77437533969ce681605a9ab9534ac.tar.gz openembedded-core-38d83009dfe77437533969ce681605a9ab9534ac.tar.bz2 openembedded-core-38d83009dfe77437533969ce681605a9ab9534ac.zip |
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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/apr/apr_1.5.1.bb | 2 |
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 17dddbce7e..49a08b0261 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" |