summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2020-11-30 20:56:21 +0100
committerAaron Marcher <me@drkhsh.at>2020-11-30 21:24:34 +0100
commitdd5bfc3e518a705aba95569537e785bb0d6d7005 (patch)
treed7e24a0c812f209dbc907abf32e16bbf369f56ad
parent9ac721c23fb640de2a6d1f84c84a79b2ccc26691 (diff)
downloadslstatus-dd5bfc3e518a705aba95569537e785bb0d6d7005.tar.gz
slstatus-dd5bfc3e518a705aba95569537e785bb0d6d7005.zip
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)
-rw-r--r--config.mk1
1 files changed, 1 insertions, 0 deletions
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
15CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os 15CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
16LDFLAGS = -L$(X11LIB) -s 16LDFLAGS = -L$(X11LIB) -s
17# OpenBSD: add -lsndio 17# OpenBSD: add -lsndio
18# FreeBSD: add -lkvm
18LDLIBS = -lX11 19LDLIBS = -lX11
19 20
20# compiler and linker 21# compiler and linker