summaryrefslogtreecommitdiffstats
path: root/rules/ncurses.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-05-25 15:03:21 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-05-25 16:56:39 +0200
commit1dc7befee6b74d6e9a0fea24a63da48ebe45cbf3 (patch)
treef0b200a874b55f5254df759d5ad42a3466d43928 /rules/ncurses.make
parentbc19436227b026184d890a1411917a99b3870963 (diff)
downloadptxdist-1dc7befee6b74d6e9a0fea24a63da48ebe45cbf3.tar.gz
ptxdist-1dc7befee6b74d6e9a0fea24a63da48ebe45cbf3.tar.xz
ncurses: fix linker script for libcurses.so
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ncurses.make')
-rw-r--r--rules/ncurses.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/ncurses.make b/rules/ncurses.make
index bf255123b..01893506a 100644
--- a/rules/ncurses.make
+++ b/rules/ncurses.make
@@ -90,7 +90,7 @@ ifdef PTXCONF_NCURSES_WIDE_CHAR
# library even if they request for the non wide char library
# Done by forcing the linker to use the right library instead
#
-NCURSES_LIBRARY_LIST := curses ncurses
+NCURSES_LIBRARY_LIST := ncurses
ifdef PTXCONF_NCURSES_FORM
NCURSES_LIBRARY_LIST += form
@@ -117,6 +117,7 @@ ifdef PTXCONF_NCURSES_WIDE_CHAR
for lib in $(NCURSES_LIBRARY_LIST); do \
echo "INPUT(-l$${lib}w)" > $(NCURSES_PKGDIR)/$(CROSS_LIB_DIR)/lib$${lib}.so ; \
done
+ echo "INPUT(-lncursesw)" > $(NCURSES_PKGDIR)/$(CROSS_LIB_DIR)/libcurses.so
ln -sf libncurses++w.a $(NCURSES_PKGDIR)/$(CROSS_LIB_DIR)/libncurses++.a
ln -sf -- "ncursesw$(NCURSES_MAJOR)-config" \