Skip to content

Commit b2d3c57

Browse files
maennchenclaude
andcommitted
Do not download config scripts during libsodium autogen
libsodium's autogen.sh fetches config.guess/config.sub from git.savannah.gnu.org with curl -sL but no -f, so a server error (e.g. 502) is silently written into build-aux/config.sub and configure later dies with 'cannot run /bin/sh ./build-aux/config.sub'. The scripts autoreconf installs are recent enough for every platform we build on, so opt out of the download via DO_NOT_UPDATE_CONFIG_SCRIPTS to keep the build hermetic. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3dcb996 commit b2d3c57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

c_src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $(LIBSODIUM_CONFIGURE_FILE): $(LIBSODIUM_SRC_DIR)
192192
$(verbose) if [ ! -f $(LIBSODIUM_CONFIGURE_FILE) ]; then \
193193
(cd $(LIBSODIUM_SRC_DIR) \
194194
&& chmod +x $(LIBSODIUM_AUTOGEN_FILE) \
195-
&& $(LIBSODIUM_AUTOGEN_FILE)); \
195+
&& DO_NOT_UPDATE_CONFIG_SCRIPTS=1 $(LIBSODIUM_AUTOGEN_FILE)); \
196196
else \
197197
true; \
198198
fi

0 commit comments

Comments
 (0)