diff --git a/depends/packages/libsodium.mk b/depends/packages/libsodium.mk index a80815d1eae..4974edc70d1 100644 --- a/depends/packages/libsodium.mk +++ b/depends/packages/libsodium.mk @@ -5,13 +5,15 @@ $(package)_file_name=$(package)-$($(package)_version).tar.gz $(package)_sha256_hash=6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1 $(package)_dependencies= $(package)_config_opts= -ifeq ($(build_os),darwin) + define $(package)_set_vars - $(package)_build_env=MACOSX_DEPLOYMENT_TARGET="10.11" + $(package)_build_env=DO_NOT_UPDATE_CONFIG_SCRIPTS=1 + ifeq ($(build_os),darwin) + $(package)_build_env+=MACOSX_DEPLOYMENT_TARGET="10.11" $(package)_cc=clang $(package)_cxx=clang++ + endif endef -endif define $(package)_preprocess_cmds cd $($(package)_build_subdir); ./autogen.sh