commit dd5bfc3e518a705aba95569537e785bb0d6d7005
parent 9ac721c23fb640de2a6d1f84c84a79b2ccc26691
Author: Aaron Marcher <me@drkhsh.at>
Date: Mon, 30 Nov 2020 20:56:21 +0100
Add comment for FreeBSD to config.mk
Apparently `-lkvm` is needed for swap on FreeBSD
Thanks to Micheal Buch and Jason Smith
(See thread https://lists.suckless.org/dev/1907/33594.html)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config.mk b/config.mk
@@ -15,6 +15,7 @@ CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -L$(X11LIB) -s
# OpenBSD: add -lsndio
+# FreeBSD: add -lkvm
LDLIBS = -lX11
# compiler and linker