commit e809445
shrub
·
2026-04-20 21:08:13 +0000 UTC
parent 29360cc
make pkg-config a variable, useful for static builds
1 files changed,
+2,
-1
M
Makefile
M
Makefile
+2,
-1
1@@ -1,7 +1,8 @@
2 CC ?= cc
3+PKG_CONFIG ?= pkg-config
4 CFLAGS += -std=c99 -Wall -Wimplicit-function-declaration -Oz -pedantic
5 LDFLAGS += -Iinclude
6-LDLIBS := `pkg-config --libs swc`
7+LDLIBS := `${PKG_CONFIG} --libs swc`
8 PREFIX ?= /usr/local
9
10 ###############