summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-29 19:14:36 -0400
committerJune McEnroe <june@causal.agency>2020-07-29 19:14:36 -0400
commitc70ca4e9e051b7acc86d06ef30925c806576a870 (patch)
treecc2305b7265f1d0595a18c4372de379921e40ea4 /configure
parentRemove unused prevEvent (diff)
downloadscooper-c70ca4e9e051b7acc86d06ef30925c806576a870.tar.gz
scooper-c70ca4e9e051b7acc86d06ef30925c806576a870.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
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
 		;;