aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2018-03-09 10:53:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-15 03:38:46 -0700
commit62434e5021b99391a0c129a40bf943465a19e7ce (patch)
treeefeb69cd1752e71763201a821fc8cf9b4335044b /meta/recipes-core/ncurses
parentd6f6101cd0ae92e8ad2dec0bcb6db5044726edf9 (diff)
downloadopenembedded-core-contrib-62434e5021b99391a0c129a40bf943465a19e7ce.tar.gz
openembedded-core-contrib-62434e5021b99391a0c129a40bf943465a19e7ce.tar.bz2
openembedded-core-contrib-62434e5021b99391a0c129a40bf943465a19e7ce.zip
ncurses: fix do_install failure when base_libdir has more than one level
Other sections of the .inc already use mkdir -p, so use it here as well. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/ncurses')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1f21cd413d..106dcb016e 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -227,7 +227,7 @@ do_install() {
if [ ! -d "${D}${base_libdir}" ]; then
# Setting base_libdir to libdir as is done in the -native
# case will skip this code
- mkdir ${D}${base_libdir}
+ mkdir -p ${D}${base_libdir}
mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir}
! ${ENABLE_WIDEC} || \
mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}