summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-23 09:22:58 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-23 10:19:38 +0000
commit0c4face04f02a66d0b5afb22f7c9a008cddcde32 (patch)
tree8c859f351967f7cfee9058cf223439898956fd15
parent6a757469169624b06a40ea218d38a0a5b5f61ed7 (diff)
downloaddefinitions-0c4face04f02a66d0b5afb22f7c9a008cddcde32.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 511e124c..08c9586c 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