summaryrefslogtreecommitdiff
path: root/meta/packages/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/ncurses')
-rw-r--r--meta/packages/ncurses/ncurses.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/ncurses/ncurses.inc b/meta/packages/ncurses/ncurses.inc
index bc0bb4603c..1ff636b3ec 100644
--- a/meta/packages/ncurses/ncurses.inc
+++ b/meta/packages/ncurses/ncurses.inc
@@ -41,6 +41,10 @@ do_stage() {
ln -sf libncurses.a ${STAGING_LIBDIR}/libtermcap.a
}
+# This is necessary so that the "tic" command executed during the install can
+# link with the correct libary in staging.
+export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
+
do_install() {
autotools_do_install