Skip to content

Commit

Permalink
Updated depends libsodium to use variables for AR, RANLIB instead of …
Browse files Browse the repository at this point in the history
…static links to the bins (#874)
  • Loading branch information
mxaddict committed Nov 22, 2021
1 parent 6700677 commit 645f815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depends/packages/sodium.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(package)_patches=disable-glibc-getrandom-getentropy.patch fix-whitespace.patch
define $(package)_set_vars
$(package)_config_opts=--enable-static --disable-shared --with-pic="yes"
$(package)_config_opts+=--prefix=$(host_prefix)
$(package)_config_opts_darwin=RANLIB="$(host_prefix)/native/bin/x86_64-apple-darwin16-ranlib" AR="$(host_prefix)/native/bin/x86_64-apple-darwin16-ar" CC="$(host_prefix)/native/bin/$($(package)_cc)"
$(package)_config_opts_darwin=RANLIB="$(host_prefix)/native/bin/$(host)-ranlib" AR="$(host_prefix)/native/bin/$(host)-ar" CC="$(host_prefix)/native/bin/$($(package)_cc)"
endef

define $(package)_config_cmds
Expand Down

0 comments on commit 645f815

Please sign in to comment.