diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-29 22:14:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-29 22:20:20 +0200 |
commit | 8e98ed8c713ec1a12b81665d924d13571493f346 (patch) | |
tree | 244f4171c4935085f4c1086ad738e45f788cd559 /contrib/depends/packages/sodium-darwin.mk | |
parent | Merge pull request #4446 (diff) | |
download | monero-8e98ed8c713ec1a12b81665d924d13571493f346.tar.xz |
Merge pull request #4448
6a781408 Make depends use self built clang for darwin (TheCharlatan)
Diffstat (limited to '')
-rw-r--r-- | contrib/depends/packages/sodium-darwin.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/depends/packages/sodium-darwin.mk b/contrib/depends/packages/sodium-darwin.mk index 796bead16..59c6d1ec6 100644 --- a/contrib/depends/packages/sodium-darwin.mk +++ b/contrib/depends/packages/sodium-darwin.mk @@ -5,13 +5,14 @@ $(package)_file_name=libsodium-$($(package)_version).tar.gz $(package)_sha256_hash=fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4 define $(package)_set_vars +$(package)_build_opts_darwin=OS=Darwin LIBTOOL="$($(package)_libtool)" $(package)_config_opts=--enable-static $(package)_config_opts+=--prefix=$(host_prefix) endef define $(package)_config_cmds ./autogen.sh &&\ - $($(package)_autoconf) $($(package)_config_opts) RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin11-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin11-ar" + $($(package)_autoconf) $($(package)_config_opts) 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)_build_cmds |