Skip to content

Commit

Permalink
Pass DO_NOT_UPDATE_CONFIG_SCRIPTS=1 to autogen.sh in libsodium depend…
Browse files Browse the repository at this point in the history
…ency, to avoid updating config scripts over the network.
  • Loading branch information
ebfull authored and furszy committed Jun 29, 2021
1 parent e0dd3ed commit 6ca1355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/install_sodium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cd "${SODIUM_PREFIX}/libsodium-${SODIUM_VERSION}/"
echo "Applying patches.."
patch -p1 < "${ROOT_PREFIX}/depends/patches/libsodium/1.0.15-pubkey-validation.diff" && \
patch -p1 < "${ROOT_PREFIX}/depends/patches/libsodium/1.0.15-signature-validation.diff" && \
./autogen.sh
DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh

# make
"${SODIUM_PREFIX}/libsodium-${SODIUM_VERSION}/configure" --enable-static --disable-shared
Expand Down
2 changes: 1 addition & 1 deletion depends/packages/libsodium.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $(package)_config_opts=
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/1.0.15-pubkey-validation.diff && \
patch -p1 < $($(package)_patch_dir)/1.0.15-signature-validation.diff && \
cd $($(package)_build_subdir); ./autogen.sh
cd $($(package)_build_subdir); DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh
endef

define $(package)_config_cmds
Expand Down

0 comments on commit 6ca1355

Please sign in to comment.