aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/readline.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-11-03 00:12:31 +0000
committerHoward Chu <hyc@symas.com>2019-11-03 19:03:31 +0000
commit436e4c336396f12c36df779c973824bbbae386ae (patch)
treeb69a3e0d720869c220f46be9851d2c05f27a226e /contrib/depends/packages/readline.mk
parentMerge pull request #6079 (diff)
downloadmonero-436e4c336396f12c36df779c973824bbbae386ae.tar.xz
Fix readline build
Make sure it links to our libtinfo from our ncurses build. Hardcode some basic terminal descriptions into our libtinfo. Re-enable $HOME/.terminfo support to allow user customization. Use unlikely terminfo-dir, to prevent accidentally using differently-configured system databases.
Diffstat (limited to '')
-rw-r--r--contrib/depends/packages/readline.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/depends/packages/readline.mk b/contrib/depends/packages/readline.mk
index 8f234ab6a..29ae783a2 100644
--- a/contrib/depends/packages/readline.mk
+++ b/contrib/depends/packages/readline.mk
@@ -7,7 +7,7 @@ $(package)_dependencies=ncurses
define $(package)_set_vars
$(package)_build_opts=CC="$($(package)_cc)"
- $(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)"
+ $(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)" LDFLAGS="-L$(host_prefix)/lib"
$(package)_config_env_darwin=RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin11-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin11-ar" CC="$(host_prefix)/native/bin/$($(package)_cc)"
$(package)_config_opts+=--prefix=$(host_prefix)
$(package)_config_opts+=--exec-prefix=$(host_prefix)