Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
9ac721c
)
Add comment for FreeBSD to config.mk
author
Aaron Marcher <
[email protected]
>
Mon, 30 Nov 2020 19:56:21 +0000
(20:56 +0100)
committer
Aaron Marcher <
[email protected]
>
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
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
d88695c
..
2516e6e
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