diff options
author | June McEnroe <june@causal.agency> | 2020-07-21 17:48:09 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-21 17:49:34 -0400 |
commit | 3f5ba5cc851829c6d5c8bf4150921c3cf695a73e (patch) | |
tree | e75bf740814a4dddbeb1f697b09e4c86e19e2618 /configure | |
parent | Filter networks with only private contexts from recents as well (diff) | |
download | scooper-3f5ba5cc851829c6d5c8bf4150921c3cf695a73e.tar.gz scooper-3f5ba5cc851829c6d5c8bf4150921c3cf695a73e.zip |
Use a .pc file to configure
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configure b/configure index 9cea63b..ab23150 100755 --- a/configure +++ b/configure @@ -1,11 +1,9 @@ #!/bin/sh set -eu -libs='kcgi kcgi-html sqlite3' -pkg-config --print-errors $libs +pkg-config "$@" --print-errors scooper.pc cat >config.mk <<EOF -CFLAGS += $(pkg-config --static --cflags $libs) -LDFLAGS += -static $(pkg-config --static --libs-only-L $libs) -LDLIBS = $(pkg-config --static --libs-only-l $libs) +CFLAGS += $(pkg-config "$@" --cflags scooper.pc) +LDLIBS = $(pkg-config "$@" --libs scooper.pc) EOF |