diff options
author | bptato <nincsnevem662@gmail.com> | 2025-05-01 19:47:53 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-05-01 20:34:37 +0200 |
commit | 6d6978b1debfdd68bd2a0521f2d28021009f806a (patch) | |
tree | 29be3b8cdf277ad4aec7ba3a117aa0e976b6fe28 /Makefile | |
parent | 6d7ba989361cd307c84264611dc8987dc3cb9707 (diff) | |
download | chawan-6d6978b1debfdd68bd2a0521f2d28021009f806a.tar.gz |
Makefile: fix installation with static linking
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 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)" |