From dd5bfc3e518a705aba95569537e785bb0d6d7005 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Mon, 30 Nov 2020 20:56:21 +0100 Subject: [PATCH] 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) --- config.mk | 1 + 1 file changed, 1 insertion(+) 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