summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-23 09:22:58 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-23 09:25:38 (GMT)
commit51974ed10991481e79fd0b4f2dac29a930423b87 (patch)
treec8b416bf0065d81400c228a29d6d97f5067d683a
parent0e0ff5320138640f4fa8a7ea90fc7473ac385291 (diff)
downloaddefinitions-51974ed10991481e79fd0b4f2dac29a930423b87.tar.gz
Force Readline to link against the libncurses library.
This is to fix the following error: ld: warning: cannot find entry symbol _start; not setting start address /usr/lib/libreadline.so: undefined reference to `tputs' /usr/lib/libreadline.so: undefined reference to `tgoto' /usr/lib/libreadline.so: undefined reference to `tgetflag' /usr/lib/libreadline.so: undefined reference to `UP' /usr/lib/libreadline.so: undefined reference to `tgetent' /usr/lib/libreadline.so: undefined reference to `tgetnum' /usr/lib/libreadline.so: undefined reference to `PC' /usr/lib/libreadline.so: undefined reference to `tgetstr' /usr/lib/libreadline.so: undefined reference to `BC' Change-Id: I27e246f1c43b39f22b9761d0c062e7441872c5b4
-rw-r--r--strata/core/readline.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/core/readline.morph b/strata/core/readline.morph
index 511e124..08c9586 100644
--- a/strata/core/readline.morph
+++ b/strata/core/readline.morph
@@ -4,3 +4,5 @@ build-system: autotools
pre-configure-commands:
- cp /usr/share/automake*/config.guess support
- cp /usr/share/automake*/config.sub support
+build-commands:
+- make SHLIB_LIBS=-lncurses