aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/readline.mk
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-24 10:34:59 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-24 10:34:59 -0500
commitcbec75ec314105a53d4962eb5b3adb28545aae17 (patch)
treefb7a769ae49a0126ba8612a448fc431816b03d4e /contrib/depends/packages/readline.mk
parentMerge pull request #5891 (diff)
parentdepends: attempt to fix readline (diff)
downloadmonero-cbec75ec314105a53d4962eb5b3adb28545aae17.tar.xz
Merge pull request #5892
ab2819a depends: attempt to fix readline (iDunk5400)
Diffstat (limited to 'contrib/depends/packages/readline.mk')
-rw-r--r--contrib/depends/packages/readline.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/depends/packages/readline.mk b/contrib/depends/packages/readline.mk
index 0e2100749..8f234ab6a 100644
--- a/contrib/depends/packages/readline.mk
+++ b/contrib/depends/packages/readline.mk
@@ -6,7 +6,10 @@ $(package)_sha256_hash=e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078
$(package)_dependencies=ncurses
define $(package)_set_vars
- $(package)_config_opts=--prefix=$(host_prefix)
+ $(package)_build_opts=CC="$($(package)_cc)"
+ $(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)"
+ $(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)
$(package)_config_opts+=--host=$(HOST)
$(package)_config_opts+=--disable-shared --with-curses