From c70ca4e9e051b7acc86d06ef30925c806576a870 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 29 Jul 2020 19:14:36 -0400 Subject: Add Linux support Static linking on Linux (even with musl-gcc) is just too much of a pain. People more dedicated than I am can figure it out themselves. Or how to properly sandbox this without a chroot. --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index c55e71a..2047624 100755 --- a/configure +++ b/configure @@ -35,6 +35,10 @@ case "$(uname)" in echo 'LDFLAGS += -static' config --static kcgi kcgi-html sqlite3 ;; + (Linux) + cflags -D_GNU_SOURCE + config kcgi kcgi-html sqlite3 + ;; (*) config kcgi kcgi-html sqlite3 ;; -- cgit 1.4.1