aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/sodium.mk
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-11-18 13:23:52 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-11-18 13:23:52 -0600
commit5ca0fcf6aabc6ffc04ac5bb92c34c017f138e0b4 (patch)
treef19e297c67fcc76e35c6519ba1d5a9ce084b836e /contrib/depends/packages/sodium.mk
parentMerge pull request #6138 (diff)
parent"Fix" non-determinism in native_cctools build (diff)
downloadmonero-5ca0fcf6aabc6ffc04ac5bb92c34c017f138e0b4.tar.xz
Merge pull request #6150
gitian: add FreeBSD support (bf00d98, 85f87db, b2e5f4e, 1245b75, 7feb29f, 4991b8c, 1ce8d00, 6bb94b1, 7c6c223, 7444cec) (hyc)
Diffstat (limited to 'contrib/depends/packages/sodium.mk')
-rw-r--r--contrib/depends/packages/sodium.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/depends/packages/sodium.mk b/contrib/depends/packages/sodium.mk
index cdc690e69..dbf86fc5a 100644
--- a/contrib/depends/packages/sodium.mk
+++ b/contrib/depends/packages/sodium.mk
@@ -9,12 +9,13 @@ 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
./autogen.sh &&\
patch -p1 < $($(package)_patch_dir)/fix-whitespace.patch &&\
- $($(package)_autoconf) $($(package)_config_opts)
+ $($(package)_autoconf) $($(package)_config_opts) AR_FLAGS=$($(package)_arflags)
endef
define $(package)_build_cmds