From 771f42a03a485375a12efcfa1f131f971ee73a51 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 06:25:36 -1000 Subject: Drop the OpenSSL build dependency macOS selects CommonCrypto so this never surfaced there, but on Linux the build failed on a missing openssl header unless libssl-dev was installed. cgit is read-only and needs no crypto. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index efb6dc2..b040636 100644 --- a/Makefile +++ b/Makefile @@ -62,11 +62,11 @@ all:: cgit # machinery (see source/cgit.mk). Objects and the binary go to build/. cgit: +@$(MAKE) -C $(GITDIR) -f $(TO_ROOT)$(SRCDIR)/cgit.mk \ - $(TO_ROOT)$(BUILDDIR)/cgit $(EXTRA_GIT_TARGETS) NO_CURL=1 + $(TO_ROOT)$(BUILDDIR)/cgit $(EXTRA_GIT_TARGETS) NO_CURL=1 NO_OPENSSL=1 sparse: +@$(MAKE) -C $(GITDIR) -f $(TO_ROOT)$(SRCDIR)/cgit.mk \ - NO_CURL=1 cgit-sparse + NO_CURL=1 NO_OPENSSL=1 cgit-sparse # Building the test suite needs a fully built Git tree for its helpers, hence # EXTRA_GIT_TARGETS=all. -- cgit v2.8.0