summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 106dcb016e..0bfd644d18 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -201,7 +201,10 @@ do_install() {
201 ln -sf xterm-color ${D}${sysconfdir}/terminfo/x/xterm 201 ln -sf xterm-color ${D}${sysconfdir}/terminfo/x/xterm
202 fi 202 fi
203 203
204 rm -f ${D}${libdir}/terminfo 204 # When changing ${libdir} to e.g. /usr/lib/myawesomelib/ ncurses
205 # still installs '/usr/lib/terminfo', so try to rm both
206 # the proper path and a slightly hardcoded one
207 rm -f ${D}${libdir}/terminfo ${D}${prefix}/lib/terminfo
205 208
206 # create linker scripts for libcurses.so and libncurses to 209 # create linker scripts for libcurses.so and libncurses to
207 # link against -ltinfo when needed. Some builds might break 210 # link against -ltinfo when needed. Some builds might break