summary refs log tree commit diff
path: root/www/temp.causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-23 22:23:27 -0400
committerJune McEnroe <june@causal.agency>2021-09-23 22:23:27 -0400
commit047184e43a84edffbef611d4225f59c10de126de (patch)
tree488f142ae992f905f49013342f853029e7e75cd7 /www/temp.causal.agency/Makefile
parentAdd quick (diff)
downloadsrc-047184e43a84edffbef611d4225f59c10de126de.tar.gz
src-047184e43a84edffbef611d4225f59c10de126de.zip
Make up build away from FreeBSD
Diffstat (limited to 'www/temp.causal.agency/Makefile')
-rw-r--r--www/temp.causal.agency/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/temp.causal.agency/Makefile b/www/temp.causal.agency/Makefile
index 3e908305..cdcfb644 100644
--- a/www/temp.causal.agency/Makefile
+++ b/www/temp.causal.agency/Makefile
@@ -1,8 +1,7 @@
 WEBROOT = /usr/local/www/temp.causal.agency
 
-CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -I/usr/local/include
-LDFLAGS += -static -L/usr/local/lib
-LDLIBS = -lkcgihtml -lkcgi -lz -lmd
+CFLAGS += -std=c11 -Wall -Wextra -Wpedantic $$(pkg-config --cflags kcgi)
+LDLIBS = -static $$(pkg-config --static --libs kcgi-html)
 
 up: