aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/sodium.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-11-14 01:45:59 +0000
committerHoward Chu <hyc@symas.com>2019-11-17 13:44:18 +0000
commit5eea312f6da20cdfefabdbec4210fd1ff988f11e (patch)
tree21706fedd7cd7436e548350161099650c1a7862d /contrib/depends/packages/sodium.mk
parentUse standard time for depends caches (diff)
downloadmonero-5eea312f6da20cdfefabdbec4210fd1ff988f11e.tar.xz
Fixup sodium darwin
get rid of sodium-darwin.mk special case, unify back with sodium.mk
Diffstat (limited to '')
-rw-r--r--contrib/depends/packages/sodium.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/depends/packages/sodium.mk b/contrib/depends/packages/sodium.mk
index ff4c0f289..dbf86fc5a 100644
--- a/contrib/depends/packages/sodium.mk
+++ b/contrib/depends/packages/sodium.mk
@@ -9,6 +9,7 @@ define $(package)_set_vars
$(package)_config_opts=--enable-static --disable-shared
$(package)_config_opts+=--prefix=$(host_prefix)
$(package)_config_opts_android=RANLIB=$($(package)_ranlib) AR=$($(package)_ar) CC=$($(package)_cc)
+$(package)_config_opts_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)"
endef
define $(package)_config_cmds