commit ce364ce7a63da81200b71eebce919a16a5bf73cf Author: Aaron Marcher <m...@drkhsh.at> AuthorDate: Mon Nov 30 20:56:21 2020 +0100 Commit: Aaron Marcher <m...@drkhsh.at> CommitDate: Mon Nov 30 21:18:51 2020 +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) diff --git a/config.mk b/config.mk index d88695c..2516e6e 100644 --- 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