Add comment for FreeBSD to config.mk
authorAaron Marcher <me@drkhsh.at>
Mon, 30 Nov 2020 19:56:21 +0000 (20:56 +0100)
committerAaron Marcher <me@drkhsh.at>
Mon, 30 Nov 2020 20:24:34 +0000 (21:24 +0100)
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

index d88695cee34d1c3a54acbeaa8a73d114797bc309..2516e6e893a8784b66c7bf066bc87eac2705dcb9 100644 (file)
--- 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