diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | doc/build.md | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 12ba019c..20fd7689 100644 --- a/Makefile +++ b/Makefile @@ -237,6 +237,11 @@ install: done # urldec is just a symlink to urlenc (cd $(LIBEXECDIR_CHAWAN) && ln -sf urlenc urldec) +ifeq ($(STATIC_LINK),1) + (cd $(LIBEXECDIR_CHAWAN/cgi-bin) && ln -sf ssl http) + (cd $(LIBEXECDIR_CHAWAN/cgi-bin) && ln -sf ssl gemini) + (cd $(LIBEXECDIR_CHAWAN/cgi-bin) && ln -sf ssl sftp) +endif mkdir -p "$(DESTDIR)$(MANPREFIX1)" for f in $(manpages1); do install -m644 "doc/$$f" "$(DESTDIR)$(MANPREFIX1)"; done mkdir -p "$(DESTDIR)$(MANPREFIX5)" diff --git a/doc/build.md b/doc/build.md index aa1c45d1..4ec6ae77 100644 --- a/doc/build.md +++ b/doc/build.md @@ -106,7 +106,8 @@ gcc.exe = "musl-gcc" gcc.linkerexe = "musl-gcc" ``` -* Compile and install OpenSSL, libssh2 and libbrotlidec to `/usr/local/musl`. +* Compile and install OpenSSL, libssh2, libbrotlicommon and libbrotlidec + to `/usr/local/musl`. * Compile Chawan: ```sh |