diff options
author | June McEnroe <june@causal.agency> | 2020-07-29 19:14:36 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-29 19:14:36 -0400 |
commit | c70ca4e9e051b7acc86d06ef30925c806576a870 (patch) | |
tree | cc2305b7265f1d0595a18c4372de379921e40ea4 /configure | |
parent | Remove unused prevEvent (diff) | |
download | scooper-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-x | configure | 4 |
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 ;; |