diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-23 09:22:58 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-23 09:25:38 +0000 |
commit | 51974ed10991481e79fd0b4f2dac29a930423b87 (patch) | |
tree | c8b416bf0065d81400c228a29d6d97f5067d683a /strata/core | |
parent | 0e0ff5320138640f4fa8a7ea90fc7473ac385291 (diff) | |
download | definitions-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
Diffstat (limited to 'strata/core')
-rw-r--r-- | strata/core/readline.morph | 2 |
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 |