diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Say how to build cgit on musl
Git's code there needs the kernel headers and its bundled regex, and the build failed with nothing to say so.
-rw-r--r--README.txt6
1 file changed, 6 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index 4d3ab51..998c072 100644
--- a/README.txt
+++ b/README.txt
@@ -34,6 +34,12 @@ by providing a cgit.conf file, see the Makefile for details.
The only required library is zlib. cgit builds without OpenSSL, libcurl,
gettext or Tcl, so no development packages for those are needed.
+On a musl system such as Alpine, Git's code also needs the Linux kernel headers,
+packaged there as linux-headers, and its bundled regex in place of musl's, which
+lacks REG_STARTEND. make test takes the same setting.
+
+ $ make NO_REGEX=YesPlease
+
Lua is optional and only powers the lua: filter extensions, the filters in
custom/extensions/. A plain build auto-detects a Lua through pkg-config,
preferring LuaJIT, and falls back to a Lua-less binary when none is found. To